From 3f51b805d6f175c6ba42b874f0b708fc51835beb Mon Sep 17 00:00:00 2001 From: meep-eep Date: Mon, 17 Jan 2005 20:14:38 +0000 Subject: [PATCH] Get rid of alloca() warning for Solaris git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1450 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/port.h | 2 +- sc2/src/sc2code/libs/uio/uioport.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sc2/src/port.h b/sc2/src/port.h index f6ae8f2d7..8a83e6882 100644 --- a/sc2/src/port.h +++ b/sc2/src/port.h @@ -102,7 +102,7 @@ typedef unsigned short mode_t; # elif defined (_MSC_VER) # define alloca _alloca # endif -#elif defined (__linux__) +#else # include #endif diff --git a/sc2/src/sc2code/libs/uio/uioport.h b/sc2/src/sc2code/libs/uio/uioport.h index 5669e3c7d..c96ff10ea 100644 --- a/sc2/src/sc2code/libs/uio/uioport.h +++ b/sc2/src/sc2code/libs/uio/uioport.h @@ -139,7 +139,7 @@ typedef unsigned short mode_t; # elif defined (_MSC_VER) # define alloca _alloca # endif -#elif defined (__linux__) +#else # include #endif