aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source/flstdc.h
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2003-07-20 02:36:32 +0000
committerThomas Grill <xovo@users.sourceforge.net>2003-07-20 02:36:32 +0000
commitcd0dbb399460d8c6e28a07c726bc914cfcda5ab3 (patch)
treea666f561be004b7e7b525870551a5631b46fb8b9 /externals/grill/flext/source/flstdc.h
parentb24219e6ab0ce96f0d60f7a5f122c52b2c7e40aa (diff)
""
svn path=/trunk/; revision=779
Diffstat (limited to 'externals/grill/flext/source/flstdc.h')
-rw-r--r--externals/grill/flext/source/flstdc.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/externals/grill/flext/source/flstdc.h b/externals/grill/flext/source/flstdc.h
index c875ac1e..e45da76a 100644
--- a/externals/grill/flext/source/flstdc.h
+++ b/externals/grill/flext/source/flstdc.h
@@ -39,14 +39,21 @@ extern "C" {
/* PD header file structure has changed with version 0.37
from then on m_imp.h needs m_pd.h to be included before
on the other hand versions < 0.37 don't like that....
- (they want m_imp.h solely)
+ (they want m_imp.h solely as m_pd.h is included therein)
So better use the m_pd.h here also for the debug version.
Change that if really needed for debugging PD internals...
*/
- #include <m_pd.h>
+
+ #ifndef PD_VERSION
+ // include only if not already included
+ #include <m_pd.h>
+ #endif
// #include <m_imp.h> // for easier debugging
#else
- #include <m_pd.h> // for easier debugging
+ #ifndef PD_VERSION
+ // include only if not already included
+ #include <m_pd.h>
+ #endif
#endif
}