Permalink
Browse files

win32: Defined random/srandom as rand/srand on win32

  • Loading branch information...
1 parent 8f7338b commit cdd60c7498d990199b4457b1b68b6341a5a221f1 @thaytan thaytan committed Apr 29, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/stdafx.h
View
@@ -43,6 +43,8 @@ typedef unsigned int uint;
#include <tchar.h>
#undef interface // Undo braindead define from Windows that conflicts with glibmm DBUS binding
typedef unsigned int guint;
+#define random rand
+#define srandom srand
#endif
#include "platform.h" // OpenGL, glu, glut in cross-platform way
#include <stdio.h>

0 comments on commit cdd60c7

Please sign in to comment.