1 /* 2 * Copyright 2006 Sony Computer Entertainment Inc. 3 * 4 * Licensed under the MIT Open Source License, for details please see license.txt or the website 5 * http://www.opensource.org/licenses/mit-license.php 6 * 7 */ 8 9 #ifndef __DAE_PLATFORM_H__ 10 #define __DAE_PLATFORM_H__ 11 12 #ifdef WIN32 13 #include <dae/daeWin32Platform.h> 14 #elif defined( __GCC__ ) 15 #include <dae/daeGCCPlatform.h> 16 #else 17 // Use some generic settings 18 #include <limits.h> 19 20 #define PLATFORM_INT8 char 21 #define PLATFORM_INT16 short 22 #define PLATFORM_INT32 int 23 #define PLATFORM_INT64 long long 24 #define PLATFORM_UINT8 unsigned char 25 #define PLATFORM_UINT16 unsigned short 26 #define PLATFORM_UINT32 unsigned int 27 #define PLATFORM_UINT64 unsigned long long 28 #define PLATFORM_FLOAT32 float 29 #define PLATFORM_FLOAT64 double 30 31 #define DLLSPEC 32 #endif 33 34 #endif 35