diff options
Diffstat (limited to 'cpp/src/icecpp/config.h')
-rw-r--r-- | cpp/src/icecpp/config.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/src/icecpp/config.h b/cpp/src/icecpp/config.h index 9f947753bcf..88246f9aecd 100644 --- a/cpp/src/icecpp/config.h +++ b/cpp/src/icecpp/config.h @@ -37,7 +37,9 @@ # pragma warning( 4 : 4267 ) # endif # endif -# define alloca _alloca +# ifdef _MSC_VER +# define alloca _alloca +# endif #endif #if defined(__linux) || defined(__FreeBSD__) || defined(__sun) || \ |