COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
coIdent.h
Go to the documentation of this file.
1 /* This file is part of COVISE.
2 
3  You can use it under the terms of the GNU Lesser General Public License
4  version 2.1 or later, see lgpl-2.1.txt.
5 
6  * License: LGPL 2+ */
7 
8 /*
9  * Please do NOT introduce the usual #ifndef COIDENT_H_INCLUDED stuff
10  * at the beginnig of this file to prevent multiple inclusions, because
11  * it is designed to be multiple included!
12  */
13 namespace covise
14 {
15 
16 #ifdef COIDENT
17 #if !defined(NOIDENT) && !defined(CO_hp1020) && !defined(_WIN32) && !defined(__hpux)
18 #if !(__GNUC__)
19 #ident COIDENT /* at best use the simple #ident ... */
20 #elif(__GNUC__ < 4) || (__GNUC_MINOR__ < 4) /* since gcc v4.4, #ident is deprecated */
21 #ident COIDENT
22 #endif
23 #elif defined(CO_hp1020) /* ... which is unknown to HP 10.20 */
24 #pragma VERSIONID COIDENT
25 #elif !defined(COIDENT_H_INCLUDED) /* at least an indent in the c files */
26 #define COIDENT_H_INCLUDED
27 static const char *cov_ident = COIDENT; /* hopefully not optimized */
28 #endif
29 #undef COIDENT
30 #endif
31 }