1 | /**********************************************************************
|
---|
2 | *
|
---|
3 | * gsdlconf.h -- system specific includes
|
---|
4 | * Copyright (C) 1999 The New Zealand Digital Library Project
|
---|
5 | *
|
---|
6 | * PUT COPYRIGHT NOTICE HERE
|
---|
7 | *
|
---|
8 | * $Id: gsdlconf.h 120 1999-01-20 01:26:56Z rjmcnab $
|
---|
9 | *
|
---|
10 | *********************************************************************/
|
---|
11 |
|
---|
12 |
|
---|
13 | #ifndef GSDLCONF_H
|
---|
14 | #define GSDLCONF_H
|
---|
15 |
|
---|
16 |
|
---|
17 | // Note: all macros used in the gsdl software (except the _H macros) should
|
---|
18 | // now start with GSDL_
|
---|
19 |
|
---|
20 |
|
---|
21 | // when we have a configure script GSDL_GSDLHOME should be defined in
|
---|
22 | // this script
|
---|
23 | #include "site.h"
|
---|
24 |
|
---|
25 |
|
---|
26 | // GSDL_NEED_STRINGS_H should be defined if some string functions
|
---|
27 | // needed (like strcasecmp) are in strings.h
|
---|
28 | #if defined(__IBMCPP__)
|
---|
29 | # define GSDL_NEED_STRINGS_H
|
---|
30 | #endif
|
---|
31 |
|
---|
32 | // GSDL_USE_IOS_H should be defined if the .h extension needs to
|
---|
33 | // be used for the io stream headers
|
---|
34 | #if defined(__GNUG__) || defined(__IBMCPP__)
|
---|
35 | # define GSDL_USE_IOS_H 1
|
---|
36 | #endif
|
---|
37 |
|
---|
38 | // GSDL_USE_STL_H should be defined if the .h extension needs to
|
---|
39 | // be used for the stl header files
|
---|
40 | #if defined(__IBMCPP__)
|
---|
41 | # define GSDL_USE_STL_H 1
|
---|
42 | #endif
|
---|
43 |
|
---|
44 | // GSDL_USE_ALGO_H should be defined if algo.h should be used
|
---|
45 | // instead of algorithm.h
|
---|
46 | #if defined(__IBMCPP__)
|
---|
47 | # define GSDL_USE_ALGO_H 1
|
---|
48 | #endif
|
---|
49 |
|
---|
50 | // GSDL_NAMESPACE_BROKEN should be defined if namespaces should
|
---|
51 | // not be used
|
---|
52 | #if defined(__GNUG__) || defined(__IBMCPP__)
|
---|
53 | # define GSDL_NAMESPACE_BROKEN 1
|
---|
54 | #endif
|
---|
55 |
|
---|
56 | // GSDL_USE_OBJECTSPACE should now be used instead of USE_OBJECTSPACE
|
---|
57 | #if defined(USE_OBJECTSPACE)
|
---|
58 | # define GSDL_USE_OBJECTSPACE
|
---|
59 | #endif
|
---|
60 |
|
---|
61 | // GSDL_NEED_DESTROY_USHORT should be defined if the compiler needs
|
---|
62 | // a definition for void destroy(short unsigned int *)
|
---|
63 | #if defined(__IBMCPP__)
|
---|
64 | # define GSDL_NEED_DESTROY_USHORT
|
---|
65 | #endif
|
---|
66 |
|
---|
67 |
|
---|
68 | #endif
|
---|