aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source/flstdc.h
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2004-08-10 03:32:04 +0000
committerThomas Grill <xovo@users.sourceforge.net>2004-08-10 03:32:04 +0000
commit849cd0933db8af7191be6ce8e1d39b0452d43eea (patch)
tree467b268d097c3ef6b07850e9d08eabc0b80849ac /externals/grill/flext/source/flstdc.h
parentb86ef0ecbc438c2da9b8148bce0ffe3395131bb1 (diff)
""
svn path=/trunk/; revision=1934
Diffstat (limited to 'externals/grill/flext/source/flstdc.h')
-rw-r--r--externals/grill/flext/source/flstdc.h8
1 files changed, 8 insertions, 0 deletions
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 <math.h>
+#endif
+
// PD stuff
#if FLEXT_SYS == FLEXT_SYS_PD