Merge branch 'Fix_version_macros' into 'master'
Fixed broken version macros (Thanks to Frederik Salomonsson for the fix) See merge request OpenMesh/OpenMesh!142
This commit is contained in:
@@ -71,9 +71,9 @@
|
|||||||
// only defined, if it is a beta version
|
// only defined, if it is a beta version
|
||||||
//#define OM_VERSION_BETA 4
|
//#define OM_VERSION_BETA 4
|
||||||
|
|
||||||
#define OM_GET_VER ((OM_VERSION && 0xf0000) >> 16)
|
#define OM_GET_VER ((OM_VERSION & 0xf0000) >> 16)
|
||||||
#define OM_GET_MAJ ((OM_VERSION && 0x0ff00) >> 8)
|
#define OM_GET_MAJ ((OM_VERSION & 0x0ff00) >> 8)
|
||||||
#define OM_GET_MIN (OM_VERSION && 0x000ff)
|
#define OM_GET_MIN (OM_VERSION & 0x000ff)
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
# ifdef min
|
# ifdef min
|
||||||
|
|||||||
Reference in New Issue
Block a user