Separated out catch_platform.h

This commit is contained in:
Phil Nash 2013-08-16 19:08:39 +01:00
parent 46118714b1
commit 638cf9feb4
5 changed files with 29 additions and 10 deletions

View file

@ -12,13 +12,7 @@
#include <iostream>
#if defined(__MAC_OS_X_VERSION_MIN_REQUIRED)
#define CATCH_PLATFORM_MAC
#elif defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
#define CATCH_PLATFORM_IPHONE
#elif defined(__WIN32__) || defined(_WIN32) || defined(_MSC_VER)
#define CATCH_PLATFORM_WINDOWS
#endif
#include "catch_platform.h"
#ifdef CATCH_PLATFORM_MAC