From 9c1a32c790c5e7bac88a8003c5189898b4bb4a9f Mon Sep 17 00:00:00 2001 From: terminx Date: Wed, 29 Oct 2014 17:07:35 +0000 Subject: [PATCH] CPLUSPLUS mode build fix. DONT_BUILD. git-svn-id: https://svn.eduke32.com/eduke32@4705 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/build/include/compat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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