first commit
This commit is contained in:
40
include/platform/platform_config.h
Normal file
40
include/platform/platform_config.h
Normal file
@ -0,0 +1,40 @@
|
||||
/* -----------------------------------------------------------------------------
|
||||
GSFramework
|
||||
Copyright 2001-2013 Emmanuel Julien. All Rights Reserved.
|
||||
----------------------------------------------------------------------------- */
|
||||
|
||||
|
||||
#ifndef __KERNEL_CONFIG__
|
||||
#define __KERNEL_CONFIG__
|
||||
|
||||
|
||||
#include "assert/nassert.h"
|
||||
|
||||
|
||||
#if __PLATFORM_WINDOWS__
|
||||
|
||||
#define strupr _strupr
|
||||
#define strlwr _strlwr
|
||||
|
||||
#elif __PLATFORM_POSIX__
|
||||
|
||||
#include <stdint.h>
|
||||
#include <alloca.h>
|
||||
|
||||
#define _snprintf snprintf
|
||||
|
||||
#elif __PLATFORM_NINTENDO_WII__
|
||||
|
||||
#include <revolution.h>
|
||||
|
||||
using namespace std;
|
||||
#define _snprintf snprintf
|
||||
|
||||
#elif SN_TARGET_PS3
|
||||
|
||||
#define _snprintf snprintf
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#endif // __KERNEL_CONFIG__
|
||||
Reference in New Issue
Block a user