Commit 9b898d0d authored by Jan Möbius's avatar Jan Möbius

Merge branch 'Fix_version_macros' into 'master'

Fixed broken version macros (Thanks to Frederik Salomonsson for the fix)

See merge request !142
parents c57fece9 b85ba1d6
Pipeline #5811 passed with stage
in 44 minutes and 11 seconds
......@@ -71,9 +71,9 @@
// only defined, if it is a beta version
//#define OM_VERSION_BETA 4
#define OM_GET_VER ((OM_VERSION && 0xf0000) >> 16)
#define OM_GET_MAJ ((OM_VERSION && 0x0ff00) >> 8)
#define OM_GET_MIN (OM_VERSION && 0x000ff)
#define OM_GET_VER ((OM_VERSION & 0xf0000) >> 16)
#define OM_GET_MAJ ((OM_VERSION & 0x0ff00) >> 8)
#define OM_GET_MIN (OM_VERSION & 0x000ff)
#ifdef WIN32
# ifdef min
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment