Grid Community Toolkit  6.2.1705709074 (tag: v6.2.20240202)
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
globus_release.h
Go to the documentation of this file.
1 /*
2  * Copyright 1999-2006 University of Chicago
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
22 #ifndef GLOBUS_RELEASE_H
23 #define GLOBUS_RELEASE_H
24 
25 /* I have made these routines as macros */
26 /* since you have to include the header file, anyways. */
27 /* The only reason why they should be functions is if */
28 /* you expect the linker to fill in the appropriate values */
29 /* but then the user needs to include the prototypes. */
30 #define globus_release_major() GLOBUS_RELEASE_MAJOR
31 #define globus_release_minor() GLOBUS_RELEASE_MINOR
32 #define globus_release_patch() GLOBUS_RELEASE_PATCH
33 #define globus_release_beta() GLOBUS_RELEASE_BETA
34 
35 #ifdef GLOBUS_RELEASE_STRING
36 #define globus_release_string() GLOBUS_RELEASE_STRING
37 #else
38 #define globus_release_string() ""
39 #endif
40 #endif /* GLOBUS_DEBUG_H */