source: main/tags/2.00/gsdl/lib/gsdlconf.h@ 24157

Last change on this file since 24157 was 534, checked in by sjboddie, 25 years ago

added gpl notice

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 2.4 KB
Line 
1/**********************************************************************
2 *
3 * gsdlconf.h -- system specific includes
4 * Copyright (C) 1999 The New Zealand Digital Library Project
5 *
6 * A component of the Greenstone digital library software
7 * from the New Zealand Digital Library Project at the
8 * University of Waikato, New Zealand.
9 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version.
14 *
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
19 *
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23 *
24 * $Id: gsdlconf.h 534 1999-09-07 04:57:43Z sjboddie $
25 *
26 *********************************************************************/
27
28
29#ifndef GSDLCONF_H
30#define GSDLCONF_H
31
32
33// Note: all macros used in the gsdl software (except the _H macros) should
34// now start with GSDL_
35
36
37// GSDL_NEED_STRINGS_H should be defined if some string functions
38// needed (like strcasecmp) are in strings.h
39#if defined(__IBMCPP__)
40# define GSDL_NEED_STRINGS_H
41#endif
42
43// GSDL_USE_IOS_H should be defined if the .h extension needs to
44// be used for the io stream headers
45#if defined(__GNUG__) || defined(__IBMCPP__)
46# define GSDL_USE_IOS_H 1
47#endif
48
49// GSDL_USE_STL_H should be defined if the .h extension needs to
50// be used for the stl header files
51#if defined(__IBMCPP__)
52# define GSDL_USE_STL_H 1
53#endif
54
55// GSDL_USE_ALGO_H should be defined if algo.h should be used
56// instead of algorithm.h
57#if defined(__IBMCPP__)
58# define GSDL_USE_ALGO_H 1
59#endif
60
61// GSDL_NAMESPACE_BROKEN should be defined if namespaces should
62// not be used
63#if defined(__GNUG__) || defined(__IBMCPP__)
64# define GSDL_NAMESPACE_BROKEN 1
65#endif
66
67// GSDL_USE_OBJECTSPACE should now be used instead of USE_OBJECTSPACE
68#if defined(USE_OBJECTSPACE)
69# define GSDL_USE_OBJECTSPACE
70#endif
71
72// GSDL_NEED_DESTROY_USHORT should be defined if the compiler needs
73// a definition for void destroy(short unsigned int *)
74#if defined(__IBMCPP__)
75# define GSDL_NEED_DESTROY_USHORT
76#endif
77
78
79#endif
Note: See TracBrowser for help on using the repository browser.