diff --git a/polymer/eduke32/build/include/compat.h b/polymer/eduke32/build/include/compat.h index e495e266f..ae851b80e 100644 --- a/polymer/eduke32/build/include/compat.h +++ b/polymer/eduke32/build/include/compat.h @@ -584,7 +584,7 @@ static inline uint16_t system_15bit_rand(void) { return ((uint16_t)rand())&0x7ff # define Bcalloc calloc # define Brealloc realloc # define Bfree free -#ifdef __cplusplus +#if defined(__cplusplus) && defined(_MSC_VER) # define Bstrdup _strdup # define Bchdir _chdir # define Bgetcwd _getcwd