00001 /* 00002 * os_compile.h 00003 * 00004 * THIS FILE IS PROVIDED UNDER THE TERMS OF THE COMMON PUBLIC LICENSE 00005 * ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE 00006 * CONSTITUTES RECIPIENTS ACCEPTANCE OF THE AGREEMENT. 00007 * 00008 * You can obtain a current copy of the Common Public License from 00009 * http://oss.software.ibm.com/developerworks/opensource/license-cpl.html 00010 * 00011 * Author: Frank Scheffler <frank.scheffler@de.ibm.com> 00012 * Contributors: 00013 * 00014 * Description: Checks for the correct OS compile definition. 00015 */ 00016 #ifndef _OS_COMPILE_H_ 00017 #define _OS_COMPILE_H_ 00018 00019 #ifdef _COMPILE_WIN32 00020 #ifdef _COMPILE_UNIX 00021 #error "You mustn't define both _COMPILE_WIN32 and _COMPILE_UNIX" 00022 #endif 00023 #else 00024 #ifndef _COMPILE_UNIX 00025 #error "You have to define either _COMPILE_WIN32 or _COMPILE_UNIX" 00026 #endif 00027 #endif 00028 00029 #endif