CoolProp
6.6.0
An open-source fluid property and humid air property database
include
PlatformDetermination.h
Go to the documentation of this file.
1
#ifndef PLATFORMDETERMINATION_H
2
#define PLATFORMDETERMINATION_H
3
4
// See also http://stackoverflow.com/questions/5919996/how-to-detect-reliably-mac-os-x-ios-linux-windows-in-c-preprocessor
5
#if _WIN64
6
# define __ISWINDOWS__
7
#elif _WIN32
8
# define __ISWINDOWS__
9
#elif __APPLE__
10
# define __ISAPPLE__
11
#elif __linux || __unix || __posix
12
# define __ISLINUX__
13
#elif __powerpc__
14
# define __ISPOWERPC__
15
#else
16
# pragma error
17
#endif
18
19
#endif
Generated on Wed Nov 29 2023 14:26:23 for CoolProp by
1.9.1