diff options
-rw-r--r-- | get_load.c | 2 | ||||
-rw-r--r-- | get_rload.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -48,7 +48,7 @@ from the X Consortium. #include <stdlib.h> #include "xload.h" -#if defined(__CYGWIN__) +#if defined(__CYGWIN__) || defined(_WIN32) # define WIN32_LEAN_AND_MEAN # include <X11/Xwindows.h> typedef struct { diff --git a/get_rload.c b/get_rload.c index ecfd286..c3f9dfb 100644 --- a/get_rload.c +++ b/get_rload.c @@ -9,7 +9,7 @@ /* Not all OS supports get_rload steal the STUB idea from get_load */ -#if defined(QNX4) || defined(__CYGWIN__) +#if defined(QNX4) || defined(__CYGWIN__) || defined(_WIN32) #define RLOADSTUB #endif |