all repos — openbox @ beae040a8145e4dbe5444720152b9176660433d8

openbox fork - make it a bit more like ryudo

obt/version.h.in (raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef obt__version_h
#define obt__version_h

#define OBT_MAJOR_VERSION @OBT_MAJOR_VERSION@
#define OBT_MINOR_VERSION @OBT_MINOR_VERSION@
#define OBT_MICRO_VERSION @OBT_MICRO_VERSION@
#define OBT_VERSION OBT_MAJOR_VERSION.OBT_MINOR_VERSION.OBT_MICRO_VERSION

#define OBT_CHECK_VERSION(major,minor,micro) \
    (OBT_MAJOR_VERSION > (major) || \
     (OBT_MAJOR_VERSION == (major) && OBT_MINOR_VERSION > (minor)) || \
     (OBT_MAJOR_VERSION == (major) && OBT_MINOR_VERSION == (minor) && \
      OBT_MICRO_VERSION >= (micro)))

#endif