From b001cc55c7d3cf18007e63feb29998f9bf0b892e Mon Sep 17 00:00:00 2001 From: curt Date: Sat, 7 Aug 1999 18:22:57 +0000 Subject: [PATCH] Updates for Mac compilers. --- src/Include/compiler.h | 33 +++++++++++++-------------------- 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/src/Include/compiler.h b/src/Include/compiler.h index 2b4b940d3..95fd8afcb 100644 --- a/src/Include/compiler.h +++ b/src/Include/compiler.h @@ -98,33 +98,26 @@ /* CodeWarrior compiler from Metrowerks, Inc. */ -# if (__MWERKS__ < 0x0900) //|| macintosh -# define FG_HAVE_TRAITS -# define FG_HAVE_STD_INCLUDES -# define FG_HAVE_STD -# define FG_NAMESPACES +# define FG_HAVE_TRAITS +# define FG_HAVE_STD_INCLUDES +# define FG_HAVE_STD +# define FG_NAMESPACES -# define STL_ALGORITHM -# define STL_FUNCTIONAL -# define STL_IOMANIP -# define STL_IOSTREAM -# define STL_STDEXCEPT -# define STL_STRING +# define STL_ALGORITHM +# define STL_FUNCTIONAL +# define STL_IOMANIP +# define STL_IOSTREAM +# define STL_STDEXCEPT +# define STL_STRING // Temp: -# define bcopy(from, to, n) memcpy(to, from, n) +# define bcopy(from, to, n) memcpy(to, from, n) // -rp- please use FG_MEM_COPY everywhere ! -# define FG_MEM_COPY(to,from,n) memcpy(to, from, n) +# define FG_MEM_COPY(to,from,n) memcpy(to, from, n) // -dw- currently used glut has no game mode stuff -# define GLUT_WRONG_VERSION - -# elif (__MWERKS__ >= 0x0900) && __INTEL__ -# error still to be supported... -# else -# error unknown Metrowerks compiler -# endif +# define GLUT_WRONG_VERSION #endif //