Sha256: 76d75da8aeb4235e6063b9201f70c2ad0ad1ce1f04962e2e96344ca4e2b3e1bd

Contents?: true

Size: 1.98 KB

Versions: 8

Compression:

Stored size: 1.98 KB

Contents

#ifndef PROCEDURAL_PLATFORM_INCLUDED
#define PROCEDURAL_PLATFORM_INCLUDED

#define PROCEDURAL_PLATFORM_WIN32 1
#define PROCEDURAL_PLATFORM_LINUX 2
#define PROCEDURAL_PLATFORM_APPLE 3
#define PROCEDURAL_PLATFORM_SYMBIAN 4
#define PROCEDURAL_PLATFORM_APPLE_IOS 5
#define PROCEDURAL_PLATFORM_ANDROID 6
#define PROCEDURAL_PLATFORM_TEGRA2 7
#define PROCEDURAL_PLATFORM_NACL 8

#if defined( __SYMBIAN32__ )
#   define PROCEDURAL_PLATFORM PROCEDURAL_PLATFORM_SYMBIAN
#elif defined( __WIN32__ ) || defined( _WIN32 )
#   define PROCEDURAL_PLATFORM PROCEDURAL_PLATFORM_WIN32
#elif defined( __APPLE_CC__)
#   if __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ >= 30000 || __IPHONE_OS_VERSION_MIN_REQUIRED >= 30000
#       define PROCEDURAL_PLATFORM PROCEDURAL_PLATFORM_IPHONE
#   else
#       define PROCEDURAL_PLATFORM PROCEDURAL_PLATFORM_APPLE
#   endif
#elif defined(linux) && defined(__arm__)
#   define PROCEDURAL_PLATFORM PROCEDURAL_PLATFORM_TEGRA2
#elif defined(__ANDROID__)
#	define PROCEDURAL_PLATFORM PROCEDURAL_PLATFORM_ANDROID
#else
#   define PROCEDURAL_PLATFORM PROCEDURAL_PLATFORM_LINUX
#endif

#if PROCEDURAL_PLATFORM == PROCEDURAL_PLATFORM_LINUX || PROCEDURAL_PLATFORM == PROCEDURAL_PLATFORM_APPLE || PROCEDURAL_PLATFORM == PROCEDURAL_PLATFORM_APPLE_IOS || PROCEDURAL_PLATFORM == PROCEDURAL_PLATFORM_IPHONE || PROCEDURAL_PLATFORM == PROCEDURAL_PLATFORM_ANDROID || PROCEDURAL_PLATFORM == PROCEDURAL_PLATFORM_TEGRA2
#   define _ProceduralExport
#elif PROCEDURAL_PLATFORM == PROCEDURAL_PLATFORM_WIN32 && defined(OgreProcedural_SHARED)
 #      if defined( OgreProcedural_EXPORTS )
 #          define _ProceduralExport __declspec( dllexport )
 #      else
 #           if defined( __MINGW32__ )
 #               define _ProceduralExport
 #           else
 #              define _ProceduralExport __declspec( dllimport )
 #           endif
#       endif
#else
 #   define _ProceduralExport
#endif

#   if (!defined(NDEBUG))
#       define PROCEDURAL_DEBUG_MODE 1
#   else
#       define PROCEDURAL_DEBUG_MODE 0
#   endif


#endif

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
ruby-procedural-0.0.2-x86-linux deps/include/OgreProcedural/ProceduralPlatform.h
ruby-procedural-0.0.1-x86-linux deps/include/OgreProcedural/ProceduralPlatform.h
ruby-ogre-0.0.5-x86-linux deps/include/OgreProcedural/ProceduralPlatform.h
ruby-ogre-0.0.4-x86-linux deps/include/OgreProcedural/ProceduralPlatform.h
ruby-ogre-0.0.3-x86-linux deps/include/OgreProcedural/ProceduralPlatform.h
ruby-ogre-0.0.2-x86-linux deps/include/OgreProcedural/ProceduralPlatform.h
ruby-ogre-0.0.1-x86-mingw32 deps/include/OgreProcedural/ProceduralPlatform.h
ruby-ogre-0.0.1-x86-linux deps/include/OgreProcedural/ProceduralPlatform.h