From e73b9183f3f60fba1dfc6ae7130b3a41e6a8c506 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Tue, 10 May 2005 10:56:47 +0000 Subject: better c++ compliance fixes for MinGW fixes for older compilers added X86-64 code for lockfree fifos svn path=/trunk/; revision=2935 --- externals/grill/flext/source/flstdc.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'externals/grill/flext/source/flstdc.h') diff --git a/externals/grill/flext/source/flstdc.h b/externals/grill/flext/source/flstdc.h index b8eef0d5..d0c2c163 100644 --- a/externals/grill/flext/source/flstdc.h +++ b/externals/grill/flext/source/flstdc.h @@ -26,11 +26,9 @@ WARRANTIES, see the file, "license.txt," in this distribution. #include #endif -#ifdef FLEXT_DEBUG -#if FLEXT_OS == FLEXT_OS_WIN +#ifdef _MSC_VER #include #endif -#endif // PD stuff @@ -231,7 +229,7 @@ typedef t_symbol *t_symptr; #ifdef FLEXT_LOGGING /* If FLEXT_LOGGING is defined implement logging */ -#if FLEXT_OS == FLEXT_OS_WIN +#ifdef _MSC_VER #define FLEXT_LOG(s) _CrtDbgReport(_CRT_WARN,__FILE__,__LINE__,"flext",s) #define FLEXT_LOG1(s,v1) _CrtDbgReport(_CRT_WARN,__FILE__,__LINE__,"flext",s,v1) #define FLEXT_LOG2(s,v1,v2) _CrtDbgReport(_CRT_WARN,__FILE__,__LINE__,"flext",s,v1,v2) @@ -272,7 +270,7 @@ typedef t_symbol *t_symptr; #endif #ifdef FLEXT_DEBUG -#if FLEXT_OS == FLEXT_OS_WIN +#ifdef _MSC_VER #define FLEXT_ASSERT(b) (!(b)?_CrtDbgReport(_CRT_ASSERT,__FILE__,__LINE__,"flext",#b):1) #define FLEXT_WARN(str) _CrtDbgReport(_CRT_WARN,__FILE__,__LINE__,"flext",NULL) #define FLEXT_ERROR(str) _CrtDbgReport(_CRT_ERROR,__FILE__,__LINE__,"flext",NULL) -- cgit v1.2.1