diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2002-12-02 17:32:50 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2002-12-02 17:32:50 +0000 |
commit | 4985ae92eea0eb7609a2449d7e147f69b7134b50 (patch) | |
tree | 83343cd73cec64d66b4a347612f8937643c04918 /externals/grill/flext/source/flcwmax.h | |
parent | 7017ea71b842451548451125d10acd5c27086e3b (diff) |
*** empty log message ***
svn path=/trunk/; revision=265
Diffstat (limited to 'externals/grill/flext/source/flcwmax.h')
-rw-r--r-- | externals/grill/flext/source/flcwmax.h | 32 |
1 files changed, 27 insertions, 5 deletions
diff --git a/externals/grill/flext/source/flcwmax.h b/externals/grill/flext/source/flcwmax.h index 5ef0b298..184803ff 100644 --- a/externals/grill/flext/source/flcwmax.h +++ b/externals/grill/flext/source/flcwmax.h @@ -13,14 +13,36 @@ WARRANTIES, see the file, "license.txt," in this distribution. #ifndef _FLEXT_CW_MAX_H #define _FLEXT_CW_MAX_H -#include <MacHeaders.h> - -#define MAXMSP +#ifndef __MWERKS__ + #error "This header file is for CodeWarrior only." +#endif -#if !defined(__OPTIMIZE__) || __OPTIMIZE__ == 0 -#define _DEBUG +#ifndef _CW_NOPRECOMP + #include <MacHeaders.h> +#endif + +#if __option(sym) || !__option(opt_dead_code) + #define _DEBUG #endif +#ifdef MAXMSP + #pragma message("#define MAXMSP is deprecated, use #define FLEXT_SYS_MAX instead") +#else + #define FLEXT_SYS_MAX + // this is deprecated (but still necessary) + #define MAXMSP +#endif + +#if __POWERPC__ + #define FLEXT_PLATFORM_MAC +#elif __INTEL__ + #define FLEXT_PLATFORM_WIN + // this is necessary for Cycling headers when compiling for Windows + #define WIN_VERSION 1 +#else + #error "Target platform not supported." +#endif + /* #define _LOG */ #endif |