From c2fa09af6a98d13d3eedf777f93b00ee666dc324 Mon Sep 17 00:00:00 2001 From: blacksirius Date: Sun, 3 Jun 2012 17:55:38 +0000 Subject: cleaned up windows header usage (added one central file to use windows / winapi specific stuff, to be able to set the appropriate flags before including it correctly) Note: this may screw up mingw or cygwin building, ill fix it later... git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16219 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/common/random.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/common/random.c') diff --git a/src/common/random.c b/src/common/random.c index 224b71fdb..367d26cfe 100644 --- a/src/common/random.c +++ b/src/common/random.c @@ -5,8 +5,7 @@ #include "../common/timer.h" // gettick #include "random.h" #if defined(WIN32) - #define WIN32_LEAN_AND_MEAN - #include + #include "../common/winapi.h" #elif defined(HAVE_GETPID) || defined(HAVE_GETTID) #include #include -- cgit v1.2.3-70-g09d2