Added compile-time error if PTR64 is incorrectly set.

This commit is contained in:
Aaron Giles 2008-06-05 09:41:02 +00:00
parent a5abe031ca
commit 48332dea92

View File

@ -27,6 +27,19 @@
/***************************************************************************
COMPILE-TIME VALIDATION
***************************************************************************/
/* if the following lines error during compile, your PTR64 switch is set incorrectly in the makefile */
#ifdef PTR64
UINT8 your_ptr64_flag_is_wrong[(int)(sizeof(void *) - 7)];
#else
UINT8 your_ptr64_flag_is_wrong[(int)(5 - sizeof(void *))];
#endif
/***************************************************************************
CONSTANTS
***************************************************************************/