From 849cd0933db8af7191be6ce8e1d39b0452d43eea Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Tue, 10 Aug 2004 03:32:04 +0000 Subject: "" svn path=/trunk/; revision=1934 --- externals/grill/flext/source/flstdc.h | 8 ++++++++ 1 file changed, 8 insertions(+) (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 19586a4a..92ea3fe8 100644 --- a/externals/grill/flext/source/flstdc.h +++ b/externals/grill/flext/source/flstdc.h @@ -18,6 +18,14 @@ WARRANTIES, see the file, "license.txt," in this distribution. #ifndef __FLEXT_STDC_H #define __FLEXT_STDC_H +#if defined(_MSC_VER) && (_MSC_VER < 0x1300) +/* + include math.h here - when included with PD or Max/MSP headers, + C linkage would be used which disturbs MSVC6 +*/ +#include +#endif + // PD stuff #if FLEXT_SYS == FLEXT_SYS_PD -- cgit v1.2.1