Renamed 'Typedef.h' to 'PlatformDefinitions.h'.

This commit is contained in:
David Williams
2015-05-08 14:57:12 +02:00
parent 64c30044b0
commit 2a8e0a5f7b
19 changed files with 25 additions and 21 deletions

View File

@ -21,8 +21,12 @@ freely, subject to the following restrictions:
distribution.
*******************************************************************************/
#ifndef __PolyVox_TypeDef_H__
#define __PolyVox_TypeDef_H__
/**
* This file contains definitions for various macros, etc, which need to be different
* for each platform. It helps keep per-platform logic outside the rest of PolyVox.
*/
#ifndef __PolyVox_PlatformDefinitions_H__
#define __PolyVox_PlatformDefinitions_H__
#if defined(_MSC_VER) && (_MSC_VER < 1800)
#error "Your version of Visual Studio is too old to build PolyVox. You need at least version Visual Stusio 2013"
@ -91,4 +95,4 @@ freely, subject to the following restrictions:
// Implementation from here: http://stackoverflow.com/a/4851173/2337254
#define POLYVOX_UNUSED(x) do { (void)sizeof(x); } while(0)
#endif
#endif //__PolyVox_PlatformDefinitions_H__

View File

@ -24,7 +24,7 @@ freely, subject to the following restrictions:
#ifndef __PolyVox_RandomUnitVectors_H__
#define __PolyVox_RandomUnitVectors_H__
#include "PolyVox/Impl/TypeDef.h"
#include "PolyVox/Impl/PlatformDefinitions.h"
#include "PolyVox/Vector.h"

View File

@ -24,7 +24,7 @@ freely, subject to the following restrictions:
#ifndef __PolyVox_Utility_H__
#define __PolyVox_Utility_H__
#include "PolyVox/Impl/TypeDef.h"
#include "PolyVox/Impl/PlatformDefinitions.h"
#include <cstdint>