metamod/mreg.cpp
changeset 242 dad2cf7763f8
parent 0 d15304fcb7a7
     1.1 --- a/metamod/mreg.cpp	Mon Jul 12 19:54:48 2004 +0000
     1.2 +++ b/metamod/mreg.cpp	Sun Aug 08 17:57:46 2004 +0000
     1.3 @@ -36,7 +36,9 @@
     1.4  
     1.5  #ifdef linux
     1.6  // enable extra routines in system header files, like strsignal
     1.7 -#define _GNU_SOURCE
     1.8 +#  ifndef _GNU_SOURCE
     1.9 +#    define _GNU_SOURCE
    1.10 +#  endif
    1.11  #endif /* linux */
    1.12  
    1.13  #include <string.h>			// strsignal, strdup, etc