Go to the documentation of this file. 56 #ifndef OPENMESH_CONFIG_H 57 #define OPENMESH_CONFIG_H 62 #include <OpenMesh/Core/System/compiler.hh> 63 #include <OpenMesh/Core/System/OpenMeshDLLMacros.hh> 68 #define OM_VERSION 0x80100 71 #define OM_GET_VER ((OM_VERSION & 0xf0000) >> 16) 72 #define OM_GET_MAJ ((OM_VERSION & 0x0ff00) >> 8) 73 #define OM_GET_MIN (OM_VERSION & 0x000ff) 77 # pragma message("Detected min macro! OpenMesh does not compile with min/max macros active! Please add a define NOMINMAX to your compiler flags or add #undef min before including OpenMesh headers !") 78 # error min macro active 81 # pragma message("Detected max macro! OpenMesh does not compile with min/max macros active! Please add a define NOMINMAX to your compiler flags or add #undef max before including OpenMesh headers !") 82 # error max macro active 87 # define OM_DEPRECATED(msg) __declspec(deprecated(msg)) 88 #elif defined(__GNUC__) 89 # if (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= 40500 90 # define OM_DEPRECATED(msg) __attribute__ ((deprecated(msg))) 92 # define OM_DEPRECATED(msg) __attribute__ ((deprecated)) 94 #elif defined(__clang__) 95 # define OM_DEPRECATED(msg) __attribute__ ((deprecated(msg))) 97 # define OM_DEPRECATED(msg) 100 typedef unsigned int uint;
102 #if ((defined(_MSC_VER) && (_MSC_VER >= 1800)) || __cplusplus > 199711L || defined(__GXX_EXPERIMENTAL_CXX0X__)) 107 #endif // OPENMESH_CONFIG_H defined