diff options
Diffstat (limited to 'src/osd/osdcomm.h')
-rw-r--r-- | src/osd/osdcomm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osd/osdcomm.h b/src/osd/osdcomm.h index 25a383f74f4..2df16b8db02 100644 --- a/src/osd/osdcomm.h +++ b/src/osd/osdcomm.h @@ -226,7 +226,7 @@ typedef UINT32 FPTR; #ifdef _MSC_VER #include <malloc.h> #if _MSC_VER == 1900 // < VS2015 -#define __LINE__Var 0 +#define __LINE__Var 0 #endif #if _MSC_VER < 1900 // < VS2015 #define snprintf _snprintf @@ -247,7 +247,7 @@ static __inline double log2(double x) { return log(x) * M_LOG2E; } #ifdef __GNUC__ #ifndef alloca -#define alloca __builtin_alloca +#define alloca(size) __builtin_alloca(size) #endif #endif |