18 #ifndef HWSD_VERSION_H
19 #define HWSD_VERSION_H
32 # define HWSD_VERSION_MAJOR 1
35 # define HWSD_VERSION_MINOR 0
38 # define HWSD_VERSION_PATCH 0
41 # define HWSD_VERSION_GT( MAJOR, MINOR, PATCH ) \
42 ( (HWSD_VERSION_MAJOR>MAJOR) || \
43 (HWSD_VERSION_MAJOR==MAJOR && (HWSD_VERSION_MINOR>MINOR || \
44 (HWSD_VERSION_MINOR==MINOR && \
45 HWSD_VERSION_PATCH>PATCH))))
48 # define HWSD_VERSION_GE( MAJOR, MINOR, PATCH ) \
49 ( (HWSD_VERSION_MAJOR>MAJOR) || \
50 (HWSD_VERSION_MAJOR==MAJOR && (HWSD_VERSION_MINOR>MINOR || \
51 (HWSD_VERSION_MINOR==MINOR && \
52 HWSD_VERSION_PATCH>=PATCH))))
55 # define HWSD_VERSION_LT( MAJOR, MINOR, PATCH ) \
56 ( (HWSD_VERSION_MAJOR<MAJOR) || \
57 (HWSD_VERSION_MAJOR==MAJOR && (HWSD_VERSION_MINOR<MINOR || \
58 (HWSD_VERSION_MINOR==MINOR && \
59 HWSD_VERSION_PATCH<PATCH))))
62 # define HWSD_VERSION_LE( MAJOR, MINOR, PATCH ) \
63 ( (HWSD_VERSION_MAJOR<MAJOR) || \
64 (HWSD_VERSION_MAJOR==MAJOR && (HWSD_VERSION_MINOR<MINOR || \
65 (HWSD_VERSION_MINOR==MINOR && \
66 HWSD_VERSION_PATCH<=PATCH))))
87 #endif // HWSD_VERSION_H