diff options
Diffstat (limited to 'probalizer')
-rw-r--r-- | probalizer/probalizer.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/probalizer/probalizer.c b/probalizer/probalizer.c index 86ce42d..96a225b 100644 --- a/probalizer/probalizer.c +++ b/probalizer/probalizer.c @@ -42,11 +42,12 @@ #include "t_tk.h" #include "probalizer.h" -#ifdef NT +#ifdef _WIN32 #include <io.h> +#define random rand #else #include <unistd.h> -#endif +#endif /* _WIN32 */ #define DEFAULT_PROBALIZER_WIDTH 200 #define DEFAULT_PROBALIZER_HEIGHT 200 |