Files
Webcam/include/platform/platform_config.h
2026-06-22 11:49:35 +02:00

41 lines
702 B
C++

/* -----------------------------------------------------------------------------
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__