aboutsummaryrefslogtreecommitdiff
path: root/probalizer/probalizer.c
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-12-18 18:57:13 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-12-18 18:57:13 +0000
commitaa82236dd093743bd2973f8b61127582aaf6e96f (patch)
treedc74f2de6e61dc04861b8d6df53daf8ed6feb2ee /probalizer/probalizer.c
parentb13e2d6c3a525918ed0816c41433509477c9912a (diff)
lots of MinGW fixes for RC6
svn path=/trunk/externals/unauthorized/; revision=4250
Diffstat (limited to 'probalizer/probalizer.c')
-rw-r--r--probalizer/probalizer.c5
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