Set platform defines correctly in Platform.h

This commit is contained in:
Robert Knight 2011-08-19 20:07:49 +01:00
parent 66ade327db
commit 650e966bfe

View file

@ -1,8 +1,16 @@
#pragma once
#define PLATFORM_LINUX
#define PLATFORM_MAC
#define PLATFORM_WINDOWS
#ifdef __linux__
#define PLATFORM_LINUX
#endif
#ifdef WIN32
#define PLATFORM_WINDOWS
#endif
#ifdef __APPLE__
#define PLATFORM_MAC
#endif
#if defined(PLATFORM_LINUX) || defined(PLATFORM_MAC)
#define PLATFORM_UNIX