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 0x60300
74 #define OM_GET_VER ((OM_VERSION && 0xf0000) >> 16)
75 #define OM_GET_MAJ ((OM_VERSION && 0x0ff00) >> 8)
76 #define OM_GET_MIN (OM_VERSION && 0x000ff)
80 # 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 !")
81 # error min macro active
84 # 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 !")
85 # error max macro active
90 # define DEPRECATED(msg) __declspec(deprecated(msg))
91 #elif defined(__GNUC__)
92 # if (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= 40500
93 # define DEPRECATED(msg) __attribute__ ((deprecated(msg)))
95 # define DEPRECATED(msg) __attribute__ ((deprecated))
97 #elif defined(__clang__)
98 # define DEPRECATED(msg) __attribute__ ((deprecated(msg)))
100 # define DEPRECATED(msg)
103 typedef unsigned int uint;
105 #if (_MSC_VER >= 1900 || __cplusplus > 199711L || defined(__GXX_EXPERIMENTAL_CXX0X__))
110 #endif // OPENMESH_CONFIG_H defined