azure-sdk-for-cpp/cmake-modules/DefinePlatform.cmake
Victor Vazquez 9fb4119ccb
Memory Stream - File Stream (win/lin) - HTTP Request / Response - Updates (#236)
* make stream use int64_t instead of uint64_t
2020-07-03 22:22:16 -07:00

19 lines
657 B
CMake

# Cmake variables:
# UNIX : is TRUE on all UNIX-like OS's, including Apple OS X and CygWin
# WIN32 : is TRUE on Windows. Prior to 2.8.4 this included CygWin
# MINGW : is TRUE when using the MinGW compiler in Windows
# MSYS : is TRUE when using the MSYS developer environment in Windows
# CYGWIN : is TRUE on Windows when using the CygWin version of cmake
# APPLE : is TRUE on Apple systems. Note this does not imply the
# system is Mac OS X, only that APPLE is #defined in C/C++
# header files.
if (WIN32 OR MINGW OR MSYS OR CYGWIN)
add_compile_definitions(WINDOWS)
endif ()
if (UNIX)
add_compile_definitions(POSIX)
endif ()