diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2005-05-23 16:52:46 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2005-05-23 16:52:46 +0000 |
commit | a1c2bb17663ce4dea2f5e7e3c1e1bfae35541a2c (patch) | |
tree | 9000122288ab01e7d815323c79342f668d6b2a5b /externals/grill/flext/source/flext.h | |
parent | a98acaeb0ce114ede2cfd31267c6dcc3fc0fbb01 (diff) |
oops, fix
Max/MSP has its own check....
changed initialization functions accordingly
better timers for Windows
fixed timer bug
changed template parameter of TableMap
compiler flag for MinGW binary compatibility (thanks to GG)
enable WIN2000/XP API features with definition in build system
fix for symbol messages into non-left inlets
restructured TableMap type (doesn't own pointers any more)
no sanity check for iterator
fixes for MSVC6
slimmed object data structures
better c++ compliance
fixed problems with symbol binding
svn path=/trunk/; revision=3074
Diffstat (limited to 'externals/grill/flext/source/flext.h')
-rw-r--r-- | externals/grill/flext/source/flext.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/externals/grill/flext/source/flext.h b/externals/grill/flext/source/flext.h index b0f939f7..f58447e5 100644 --- a/externals/grill/flext/source/flext.h +++ b/externals/grill/flext/source/flext.h @@ -44,9 +44,12 @@ WARRANTIES, see the file, "license.txt," in this distribution. #elif FLEXT_THREADS == FLEXT_THR_MP #include <multiprocessing.h> #elif FLEXT_THREADS == FLEXT_THR_WIN32 - #define _WIN32_WINNT 0x500 // must be WIN2000 at least! - #include <windows.h> - #include <process.h> + #if defined(_WIN32_WINNT) && _WIN32_WINNT >= 0x500 + #include <windows.h> + #include <process.h> + #else + #error "Win32 threading model only supported for Win2000/XP or newer" + #endif #else #error "Thread model not supported" #endif |