42 lines
942 B
Plaintext
42 lines
942 B
Plaintext
// mw-k6-F.pch
|
|
#pragma precompile_target "mw-k6-F.mch"
|
|
|
|
// overrides
|
|
#define CODEWARRIOR 1
|
|
//#define MW_GUIBUILD 0
|
|
#define _WIN32
|
|
#define _WINDOWS
|
|
#define PROFILE_95
|
|
#define MSIPL_PARTIAL_SPECIALIZATION
|
|
#define D3D_OVERLOADS
|
|
#define NOMINMAX // prevent min and max macros from being defined
|
|
#define ARS_IPTEX_OVERRIDE
|
|
|
|
|
|
// configuration: processor and build mode
|
|
#define MODE_FINAL 1
|
|
#define MODE_RELEASE 2
|
|
#define MODE_DEBUG 3
|
|
#define MODE_DEBUG_NOASM 4
|
|
#define BUILDVER_MODE MODE_FINAL
|
|
#define TARGET_PROCESSOR 5
|
|
|
|
|
|
// MW vs. MSVC
|
|
#define strcmpi(a,b) _stricmp(a,b)
|
|
#define _strcmpi(a,b) _stricmp(a,b)
|
|
#define stricmp(a,b) _stricmp(a,b)
|
|
#define _finite(x) (isfinite(x))
|
|
#define strdup(x) _strdup(x)
|
|
#define itoa(x,y,z) _itoa(x,y,z)
|
|
#define _emit emit
|
|
typedef unsigned int size_t;
|
|
extern "C" size_t _msize(void* ptr);
|
|
#define _S_IWRITE S_IWRITE
|
|
|
|
// Optimization helpers
|
|
|
|
float fabs(float);
|
|
float sqrt(float);
|
|
|
|
#pragma float_constants on |