public
Last active

Marmalade Preprocessor definitions

  • Download Gist
temp_defines_debug.h
C
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104
#ifndef I3D_OS_S3E
# define I3D_OS_S3E 1
#endif
#ifndef I3D_PLATFORM_S3E
# define I3D_PLATFORM_S3E 1
#endif
#ifndef IW_APP_NAME
# define IW_APP_NAME "angelscript"
#endif
#ifndef IW_APP_VERSION
# define IW_APP_VERSION "1.0"
#endif
#ifndef IW_DEBUG
# define IW_DEBUG 1
#endif
#ifndef IW_MKF_ANGELSCRIPT
# define IW_MKF_ANGELSCRIPT 1
#endif
#ifndef IW_PLATFORM_S3E
# define IW_PLATFORM_S3E 1
#endif
#ifndef IW_SDK
# define IW_SDK 1
#endif
#ifndef S3E_INCLUDE_LEGACY
# define S3E_INCLUDE_LEGACY 1
#endif
#ifndef __S3E__
# define __S3E__ 1
#endif
 
/* including "extra_body" specified by the mkb plugin */
 
#undef win32
 
#ifndef unix
#define unix
#endif
 
#ifndef __unix
#define __unix
#endif
 
/*
#ifndef _REENTRANT
#define _REENTRANT
#endif
*/
 
#if !defined I3D_ARCH_ARM && !defined I3D_ARCH_X86 && !defined I3D_ARCH_AMD64 && !defined I3D_ARCH_MIPS && !defined I3D_ARCH_PS3 && !defined I3D_ARCH_X360 && !defined I3D_ARCH_PSP
#if defined __ARMCC_VERSION || defined __ARMC__ || defined __arm__
#define I3D_ARCH_ARM
#elif defined __mipsel || defined __MIPSEL
#define I3D_ARCH_MIPS
#elif defined __amd64
#define I3D_ARCH_AMD64
#else
#define I3D_ARCH_X86
#endif
#endif
 
#if defined I3D_ARCH_X86 && !defined __i386__
#define __i386__
#endif
 
#if defined I3D_ARCH_ARM && !defined __ARM__
#define __ARM__
#endif
 
#if defined __cplusplus && defined _MSC_VER && _MSC_VER < 1400 && !defined IW_WCHAR_T_DEFINED
// wchar_t is a builtin in C++ .. but not for MSVC <= 2003
typedef unsigned short wchar_t;
#define IW_WCHAR_T_DEFINED
#endif
 
#ifdef _MSC_VER
#pragma warning (disable: 4786)
#endif
 
#undef _WIN32
#undef WIN32
#undef __linux__
#undef __linux
#undef linux
#if !defined I3D_ARCH_ARM && !defined I3D_ARCH_X86 && !defined I3D_ARCH_PS3 && !defined I3D_ARCH_X360
#if defined __ARMCC_VERSION || defined __arm__
#define I3D_ARCH_ARM
#else
#define I3D_ARCH_X86
#define I3D_ARCH_I386
#endif
#endif
 
#if defined I3D_ARCH_X86 && !defined __i386__
#define __i386__
#endif
 
#if defined I3D_ARCH_ARM && !defined __ARM__
#define __ARM__
#endif
 
/* including files from specified in the mkb "preinclude" option */
 
#include "/Users/braden/.../angelscript-marmalade/preinclude.h"

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.