Revision bb50181da1730e04b588f06bdf3be0d6993923f8 authored by Ian Bell on 02 August 2014, 10:40:01 UTC, committed by Ian Bell on 02 August 2014, 10:40:01 UTC
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
1 parent ef7aaec
Raw File
PlatformDetermination.h
#ifndef PLATFORMDETERMINATION_H
#define PLATFORMDETERMINATION_H

// See also http://stackoverflow.com/questions/5919996/how-to-detect-reliably-mac-os-x-ios-linux-windows-in-c-preprocessor
#if _WIN64
#  define __ISWINDOWS__
#elif _WIN32
#  define __ISWINDOWS__
#elif __APPLE__
#  define __ISAPPLE__
#elif __linux || __unix || __posix
#  define __ISLINUX__
#else
# pragma error
#endif


#endif
back to top