diff options
author | Jouni Malinen <jouni.malinen@atheros.com> | 2010-10-07 10:51:04 +0300 |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2010-10-07 10:51:04 +0300 |
commit | bf0ed63f3fa3e026370b518a4d7f574244f3c660 (patch) | |
tree | 6ca51c5da045fd4e11738d8ff8d453dc14e533d8 /src | |
parent | 199716adb3ab4688cb0b97eb38c57de776ce6bc2 (diff) | |
download | external_wpa_supplicant_8_ti-bf0ed63f3fa3e026370b518a4d7f574244f3c660.zip external_wpa_supplicant_8_ti-bf0ed63f3fa3e026370b518a4d7f574244f3c660.tar.gz external_wpa_supplicant_8_ti-bf0ed63f3fa3e026370b518a4d7f574244f3c660.tar.bz2 |
Allow a postfix to be defined for the version number
A separate build number (etc.) version number postfix can now be
added to the build without having to modify source code files by
defining VERSION_STR_POSTFIX. This can be done, e.g., by adding
following line to .config:
CFLAGS += -DVERSION_STR_POSTFIX=\"-foo\"
Diffstat (limited to 'src')
-rw-r--r-- | src/common/version.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/common/version.h b/src/common/version.h index 3b5d2ed..ba2d2c0 100644 --- a/src/common/version.h +++ b/src/common/version.h @@ -1,6 +1,10 @@ #ifndef VERSION_H #define VERSION_H -#define VERSION_STR "0.8.x" +#ifndef VERSION_STR_POSTFIX +#define VERSION_STR_POSTFIX "" +#endif /* VERSION_STR_POSTFIX */ + +#define VERSION_STR "0.8.x" VERSION_STR_POSTFIX #endif /* VERSION_H */ |