# include <crt_externs.h>
# define environ (*_NSGetEnviron())
# else
- #ifdef WIN32
+ #ifdef _XBT_WIN32
/* the environment, as specified by the opengroup, used to initialize the process properties */
extern char **wenviron;
#else
int gras_os_getpid(void)
{
-#ifdef _WIN32
+#ifdef _XBT_WIN32
return (long int) GetCurrentProcessId();
#else
return (long int) getpid();