TuttleOFX  1
TuttleOFX/libraries/tuttle/src/tuttle/common/system/system.hpp
Go to the documentation of this file.
00001 #ifndef _TUTTLE_COMMON_SYSTEM_HPP_
00002 #define _TUTTLE_COMMON_SYSTEM_HPP_
00003 
00004 #if defined( linux ) \
00005     || defined( __linux ) \
00006     || defined( LINUX ) \
00007     || defined( _LINUX ) \
00008     || defined( __LINUX__ ) \
00009 
00010  #ifndef __LINUX__
00011   #define __LINUX__
00012  #endif
00013 
00014 
00015 #elif defined( macintosh ) \
00016     || defined( Macintosh ) \
00017     || defined( __APPLE__ ) \
00018     || defined( __MACH__ ) \
00019     || defined( MACOS ) \
00020     || defined( MACOSX ) \
00021     || defined( __MACOS__ ) \
00022 
00023  #ifndef __MACOS__
00024   #define __MACOS__
00025  #endif
00026 
00027 
00028 #elif defined( WIN32 ) \
00029     || defined( _WIN32 ) \
00030     || defined( __WIN32__ ) \
00031     || defined( WIN64 ) \
00032     || defined( _WIN64 ) \
00033     || defined( __WIN64__ ) \
00034     || defined( __TOS_WIN__ ) \
00035     || defined( WINDOWS ) \
00036     || defined( _WINDOWS ) \
00037     || defined( __WINDOWS__ ) \
00038 
00039  #ifndef __WINDOWS__
00040   #define __WINDOWS__
00041  #endif
00042 
00043 #else
00044 
00045  #warning "Your operating system is not recognized."
00046 
00047 #endif
00048 
00049 #endif
00050