commit | 7ef4ee26d4c16a79b1b4a1084d137138cd05720c | [log] [tgz] |
---|---|---|
author | Jean-Paul Calderone <exarkun@boson> | Mon Dec 29 16:45:27 2008 -0500 |
committer | Jean-Paul Calderone <exarkun@boson> | Mon Dec 29 16:45:27 2008 -0500 |
tree | 518029dd8e9745ed46395bde212c7c979f33f750 | |
parent | 28ebb300fc734fe4ab1278397135dbf2f2f56f83 [diff] [blame] |
only define WIN32 if it is not already defined
diff --git a/src/rand/rand.c b/src/rand/rand.c index 9802a92..ff89ebb 100644 --- a/src/rand/rand.c +++ b/src/rand/rand.c
@@ -15,8 +15,10 @@ * WIN32 or WINDOWS needs to be defined, otherwise we get a * warning. */ -#ifdef MS_WINDOWS -#define WIN32 +#ifdef MS_WINDOWS +# ifndef WIN32 +# define WIN32 +# endif #endif #include <openssl/rand.h>