[Plib-cvs] plib/src/ssg ssgLoadFLT.cxx,1.31,1.32
Brought to you by:
sjbaker
From: Wolfram K. <wol...@us...> - 2002-09-01 16:25:59
|
Update of /cvsroot/plib/plib/src/ssg In directory usw-pr-cvs1:/tmp/cvs-serv5987 Modified Files: ssgLoadFLT.cxx Log Message: Changes from Norman Vine for MingW Index: ssgLoadFLT.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/ssg/ssgLoadFLT.cxx,v retrieving revision 1.31 retrieving revision 1.32 diff -u -d -r1.31 -r1.32 --- ssgLoadFLT.cxx 24 Aug 2002 23:37:51 -0000 1.31 +++ ssgLoadFLT.cxx 1 Sep 2002 16:25:02 -0000 1.32 @@ -136,6 +136,13 @@ # endif #endif +#if defined(__MINGW32__) +# ifdef USE_ALLOCA +# include <libiberty.h> +# endif +#endif + + #ifndef O_BINARY # define O_BINARY 0 #endif @@ -176,7 +183,7 @@ /* XXX what about PDP_ENDIAN? */ /* Help! Is this correct? */ -#if !defined(BYTE_ORDER) && defined(_MSC_VER) && !defined(NOT_INTEL_BYTE_ORDER) +#if (!defined(BYTE_ORDER) && defined(WIN32) && !defined(NOT_INTEL_BYTE_ORDER)) # define LITTLE_ENDIAN 1234 # define BIG_ENDIAN 4321 # define BYTE_ORDER LITTLE_ENDIAN |