| OGRE 1.11.1 Object-Oriented Graphics Rendering Engine

Namespaces | Macros | Typedefs
OgrePlatform.h File Reference
`#include "OgreConfig.h"`
`#include "OgreExports.h"`

## Namespaces
| Ogre

## Macros
#define | __OGRE_HAVE_DIRECTXMATH 0
#define | DECL_MALLOC __attribute__ ((malloc))
#define | OGRE_ALIGNED_DECL(type, var, alignment) type var
#define | OGRE_ARCH_TYPE OGRE_ARCHITECTURE_32
#define | OGRE_ARCHITECTURE_32 1
#define | OGRE_ARCHITECTURE_64 2
#define | OGRE_BUILD_SUFFIX ""
#define | OGRE_COMPILER_BORL 3
#define | OGRE_COMPILER_CLANG 6
#define | OGRE_COMPILER_GCCE 5
#define | OGRE_COMPILER_GNUC 2
#define | OGRE_COMPILER_MIN_VERSION(COMPILER, VERSION) (OGRE_COMPILER == (COMPILER) && OGRE_COMP_VER >= (VERSION))
#define | OGRE_COMPILER_MSVC 1
#define | OGRE_COMPILER_WINSCW 4
#define | OGRE_DEFAULT_LOCALE "C"
#define | OGRE_ENDIAN OGRE_ENDIAN_LITTLE
#define | OGRE_ENDIAN_BIG 2
#define | OGRE_ENDIAN_LITTLE 1
#define | OGRE_FALLTHROUGH
#define | OGRE_FORCE_INLINE __inline
#define | OGRE_NORETURN
#define | OGRE_PLATFORM OGRE_PLATFORM_LINUX
#define | OGRE_PLATFORM_ANDROID 5
#define | OGRE_PLATFORM_APPLE 3
#define | OGRE_PLATFORM_APPLE_IOS 4
#define | OGRE_PLATFORM_EMSCRIPTEN 8
#define | OGRE_PLATFORM_LINUX 2
#define | OGRE_PLATFORM_WIN32 1
#define | OGRE_PLATFORM_WINRT 7
#define | OGRE_QUOTE(x) OGRE_QUOTE_INPLACE(x)
#define | OGRE_QUOTE_INPLACE(x) # x
#define | OGRE_SIMD_ALIGNED_DECL(type, var) OGRE_ALIGNED_DECL(type, var, OGRE_SIMD_ALIGNMENT)
#define | OGRE_SIMD_ALIGNMENT 16
| Find perfect alignment (should supports SIMD alignment if SIMD available) More...
#define | OGRE_WARN(x) message( __FILE__ "(" QUOTE( __LINE__ ) ") : " x "\n" )

## Typedefs
typedef short | Ogre::int16
typedef int | Ogre::int32
typedef long long | Ogre::int64
typedef signed char | Ogre::int8
typedef unsigned short | Ogre::uint16
typedef unsigned int | Ogre::uint32
typedef unsigned long long | Ogre::uint64
typedef unsigned char | Ogre::uint8

## Macro Definition Documentation

## ◆ OGRE_PLATFORM_WIN32

#define OGRE_PLATFORM_WIN32 1

## ◆ OGRE_PLATFORM_LINUX

#define OGRE_PLATFORM_LINUX 2

## ◆ OGRE_PLATFORM_APPLE

#define OGRE_PLATFORM_APPLE 3

## ◆ OGRE_PLATFORM_APPLE_IOS

#define OGRE_PLATFORM_APPLE_IOS 4

## ◆ OGRE_PLATFORM_ANDROID

#define OGRE_PLATFORM_ANDROID 5

## ◆ OGRE_PLATFORM_WINRT

#define OGRE_PLATFORM_WINRT 7

## ◆ OGRE_PLATFORM_EMSCRIPTEN

#define OGRE_PLATFORM_EMSCRIPTEN 8

## ◆ OGRE_COMPILER_MSVC

#define OGRE_COMPILER_MSVC 1

## ◆ OGRE_COMPILER_GNUC

#define OGRE_COMPILER_GNUC 2

## ◆ OGRE_COMPILER_BORL

#define OGRE_COMPILER_BORL 3

## ◆ OGRE_COMPILER_WINSCW

#define OGRE_COMPILER_WINSCW 4

## ◆ OGRE_COMPILER_GCCE

#define OGRE_COMPILER_GCCE 5

## ◆ OGRE_COMPILER_CLANG

#define OGRE_COMPILER_CLANG 6

## ◆ OGRE_ENDIAN_LITTLE

#define OGRE_ENDIAN_LITTLE 1

## ◆ OGRE_ENDIAN_BIG

#define OGRE_ENDIAN_BIG 2

## ◆ OGRE_ARCHITECTURE_32

#define OGRE_ARCHITECTURE_32 1

## ◆ OGRE_ARCHITECTURE_64

#define OGRE_ARCHITECTURE_64 2

## ◆ OGRE_COMPILER_MIN_VERSION

#define OGRE_COMPILER_MIN_VERSION | ( |  | COMPILER,
|  |  | VERSION
| ) |  | (OGRE_COMPILER == (COMPILER) && OGRE_COMP_VER >= (VERSION))

## ◆ OGRE_FORCE_INLINE

#define OGRE_FORCE_INLINE __inline

## ◆ OGRE_FALLTHROUGH

#define OGRE_FALLTHROUGH

## ◆ OGRE_NORETURN

#define OGRE_NORETURN

## ◆ OGRE_PLATFORM

#define OGRE_PLATFORM OGRE_PLATFORM_LINUX

## ◆ OGRE_ARCH_TYPE

#define OGRE_ARCH_TYPE OGRE_ARCHITECTURE_32

## ◆ OGRE_ALIGNED_DECL

#define OGRE_ALIGNED_DECL | ( |  | type,
|  |  | var,
|  |  | alignment
| ) |  | type var

## ◆ OGRE_SIMD_ALIGNMENT

#define OGRE_SIMD_ALIGNMENT 16

Find perfect alignment (should supports SIMD alignment if SIMD available)

## ◆ OGRE_SIMD_ALIGNED_DECL

#define OGRE_SIMD_ALIGNED_DECL | ( |  | type,
|  |  | var
| ) |  | OGRE_ALIGNED_DECL(type, var, OGRE_SIMD_ALIGNMENT)

## ◆ OGRE_QUOTE_INPLACE

#define OGRE_QUOTE_INPLACE | ( |  | x | ) | # x

## ◆ OGRE_QUOTE

#define OGRE_QUOTE | ( |  | x | ) | OGRE_QUOTE_INPLACE(x)

## ◆ OGRE_WARN

#define OGRE_WARN | ( |  | x | ) | message( __FILE__ "(" QUOTE( __LINE__ ) ") : " x "\n" )

## ◆ __OGRE_HAVE_DIRECTXMATH

#define __OGRE_HAVE_DIRECTXMATH 0

## ◆ OGRE_ENDIAN

#define OGRE_ENDIAN OGRE_ENDIAN_LITTLE

## ◆ OGRE_DEFAULT_LOCALE

#define OGRE_DEFAULT_LOCALE "C"

## ◆ OGRE_BUILD_SUFFIX

#define OGRE_BUILD_SUFFIX ""

Referenced by Ogre::FileSystemLayer::getConfigFilePath().

## ◆ DECL_MALLOC

#define DECL_MALLOC __attribute__ ((malloc))