File: version.h

package info (click to toggle)
openbox 3.6.1-12
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 8,456 kB
  • sloc: ansic: 36,894; sh: 4,484; xml: 1,358; makefile: 607; python: 594; sed: 16
file content (15 lines) | stat: -rw-r--r-- 480 bytes parent folder | download | duplicates (5)
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 3
#define OBT_MINOR_VERSION 6
#define OBT_MICRO_VERSION 4
#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