knight/shared/KePlatform.h
author Ruben Gonzalez <drifter01620@gmail.com>
Thu May 22 09:49:27 2014 -0400 (2014-05-22)
changeset 4378 568f4497ef4a
parent 2471 194be299b700
permissions -rw-r--r--
Update CS:GO team score gamedata.
     1 #ifndef _INCLUDE_KNIGHT_KE_PLATFORM_H_
     2 #define _INCLUDE_KNIGHT_KE_PLATFORM_H_
     3 
     4 #if defined WIN32
     5 
     6 #define KE_PLATFORM_WINDOWS
     7 #define WINDOWS_LEAN_AND_MEAN
     8 #include <windows.h>
     9 #include <malloc.h>
    10 
    11 #if !defined alloca
    12 #define alloca _alloca
    13 #endif
    14 
    15 #else
    16 
    17 #define KE_PLATFORM_POSIX
    18 
    19 #if defined linux
    20 #define KE_PLATFORM_LINUX
    21 #elif defined __APPLE__
    22 #define KE_PLATFORM_APPLE
    23 #else
    24 #error "TODO"
    25 #endif
    26 
    27 #endif
    28 
    29 #endif //_INCLUDE_KNIGHT_KE_PLATFORM_H_