mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-20 12:44:46 +00:00
40 lines
1.2 KiB
C
40 lines
1.2 KiB
C
/*
|
|
* Copyright 2006 Sony Computer Entertainment Inc.
|
|
*
|
|
* Licensed under the SCEA Shared Source License, Version 1.0 (the "License"); you may not use this
|
|
* file except in compliance with the License. You may obtain a copy of the License at:
|
|
* http://research.scea.com/scea_shared_source_license.html
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software distributed under the License
|
|
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
* implied. See the License for the specific language governing permissions and limitations under the
|
|
* License.
|
|
*/
|
|
|
|
#ifndef __DAE_PLATFORM_H__
|
|
#define __DAE_PLATFORM_H__
|
|
|
|
#ifdef WIN32
|
|
#include <dae/daeWin32Platform.h>
|
|
#elif defined( __GCC__ )
|
|
#include <dae/daeGCCPlatform.h>
|
|
#else
|
|
// Use some generic settings
|
|
#include <limits.h>
|
|
|
|
#define PLATFORM_INT8 char
|
|
#define PLATFORM_INT16 short
|
|
#define PLATFORM_INT32 int
|
|
#define PLATFORM_INT64 long long
|
|
#define PLATFORM_UINT8 unsigned char
|
|
#define PLATFORM_UINT16 unsigned short
|
|
#define PLATFORM_UINT32 unsigned int
|
|
#define PLATFORM_UINT64 unsigned long long
|
|
#define PLATFORM_FLOAT32 float
|
|
#define PLATFORM_FLOAT64 double
|
|
|
|
#define DLLSPEC
|
|
#endif
|
|
|
|
#endif
|