globus_common  17.10
globus_release.h
Go to the documentation of this file.
1 
7 #ifndef GLOBUS_RELEASE_H
8 #define GLOBUS_RELEASE_H
9 
10 /* I have made these routines as macros */
11 /* since you have to include the header file, anyways. */
12 /* The only reason why they should be functions is if */
13 /* you expect the linker to fill in the appropriate values */
14 /* but then the user needs to include the prototypes. */
15 #define globus_release_major() GLOBUS_RELEASE_MAJOR
16 #define globus_release_minor() GLOBUS_RELEASE_MINOR
17 #define globus_release_patch() GLOBUS_RELEASE_PATCH
18 #define globus_release_beta() GLOBUS_RELEASE_BETA
19 
20 #ifdef GLOBUS_RELEASE_STRING
21 #define globus_release_string() GLOBUS_RELEASE_STRING
22 #else
23 #define globus_release_string() ""
24 #endif
25 #endif /* GLOBUS_DEBUG_H */