platform.hpp: Indent so I can see wtf is going on with the preprocessor control flow.
Look for ``__linux__`` on linux instead of ``linux`` because compiling with -std=c++11 removes the ``linux`` preprocessor symbol.db4
parent
64ccac3572
commit
1d58f827a2
|
@ -1,7 +1,6 @@
|
||||||
#if defined(WINDOWS)
|
#if defined(WINDOWS)
|
||||||
#if defined(WINNT)
|
#if defined(WINNT)
|
||||||
#include "os-windows.hpp"
|
#include "os-windows.hpp"
|
||||||
|
|
||||||
#if defined(FACTOR_AMD64)
|
#if defined(FACTOR_AMD64)
|
||||||
#include "os-windows.64.hpp"
|
#include "os-windows.64.hpp"
|
||||||
#elif defined(FACTOR_X86)
|
#elif defined(FACTOR_X86)
|
||||||
|
@ -28,8 +27,7 @@
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else
|
||||||
#include "os-genunix.hpp"
|
#include "os-genunix.hpp"
|
||||||
|
#if defined(__linux__)
|
||||||
#if defined(linux)
|
|
||||||
#define FACTOR_OS_STRING "linux"
|
#define FACTOR_OS_STRING "linux"
|
||||||
#include "os-linux.hpp"
|
#include "os-linux.hpp"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue