Changeset View
Changeset View
Standalone View
Standalone View
intern/libmv/libmv/build/build_config.h
| Show First 20 Lines • Show All 233 Lines • ▼ Show 20 Lines | |||||
| # define COMPILER_MINGW 1 | # define COMPILER_MINGW 1 | ||||
| #else | #else | ||||
| # define COMPILER_MINGW 0 | # define COMPILER_MINGW 0 | ||||
| #endif | #endif | ||||
| // Check what is the latest C++ specification the compiler supports. | // Check what is the latest C++ specification the compiler supports. | ||||
| // | // | ||||
| // NOTE: Use explicit definition here to avoid expansion-to-defined warning from | // NOTE: Use explicit definition here to avoid expansion-to-defined warning from | ||||
| // being geenrated. While this will most likely a false-positive warning in this | // being generated. While this will most likely a false-positive warning in this | ||||
| // particular case, that warning might be helpful to catch errors elsewhere. | // particular case, that warning might be helpful to catch errors elsewhere. | ||||
| // C++11 check. | // C++11 check. | ||||
| #if ((defined(__cplusplus) && (__cplusplus > 199711L)) || \ | #if ((defined(__cplusplus) && (__cplusplus > 199711L)) || \ | ||||
| (defined(_MSC_VER) && (_MSC_VER >= 1800))) | (defined(_MSC_VER) && (_MSC_VER >= 1800))) | ||||
| # define COMPILER_SUPPORTS_CXX11 1 | # define COMPILER_SUPPORTS_CXX11 1 | ||||
| #else | #else | ||||
| # define COMPILER_SUPPORTS_CXX11 0 | # define COMPILER_SUPPORTS_CXX11 0 | ||||
| ▲ Show 20 Lines • Show All 132 Lines • Show Last 20 Lines | |||||