Main Page | Class List | File List | Class Members | File Members | Related Pages

giftconfig.h

Go to the documentation of this file.
00001 /* 00002 * $Id: giftconfig.h.in,v 1.6.2.3 2004/03/27 01:00:15 jasta Exp $ -*- C -*- 00003 * 00004 * Copyright (C) 2001-2003 giFT project (gift.sourceforge.net) 00005 * 00006 * This program is free software; you can redistribute it and/or modify it 00007 * under the terms of the GNU General Public License as published by the 00008 * Free Software Foundation; either version 2, or (at your option) any 00009 * later version. 00010 * 00011 * This program is distributed in the hope that it will be useful, but 00012 * WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 * General Public License for more details. 00015 */ 00016 00017 #ifndef __GIFTCONFIG_H 00018 #define __GIFTCONFIG_H 00019 00020 /*****************************************************************************/ 00021 00032 /*****************************************************************************/ 00033 00034 #ifdef __cplusplus 00035 #define EXTERN_C_BEGIN extern "C" { 00036 #define EXTERN_C_END } 00037 #else /* !__really_crappy_language */ 00038 #define EXTERN_C_BEGIN 00039 #define EXTERN_C_END 00040 #endif /* __really_crappy_language */ 00041 00042 /*****************************************************************************/ 00043 00044 /* 00045 * Import all the configured features that need to be installed here. 00046 */ 00047 #ifndef _MSC_VER 00048 00049 #ifndef TIME_WITH_SYS_TIME 00050 #define TIME_WITH_SYS_TIME 1 00051 #endif 00052 #ifndef HAVE_SYS_TIME_H 00053 #define HAVE_SYS_TIME_H 1 00054 #endif 00055 #ifndef _FILE_OFFSET_BITS 00056 #define _FILE_OFFSET_BITS 64 00057 #endif 00058 #ifndef _LARGE_FILES 00059 #define _LARGE_FILES no 00060 #endif 00061 #ifndef VA_COPY_FUNC 00062 #define VA_COPY_FUNC va_copy 00063 #endif 00064 #ifndef SIZEOF_SHORT 00065 #define SIZEOF_SHORT 2 00066 #endif 00067 #ifndef SIZEOF_INT 00068 #define SIZEOF_INT 4 00069 #endif 00070 #ifndef SIZEOF_LONG 00071 #define SIZEOF_LONG 4 00072 #endif 00073 #ifndef HAVE_STDBOOL_H 00074 #define HAVE_STDBOOL_H 1 00075 #endif 00076 #ifndef BOOL 00077 #define BOOL int 00078 #endif 00079 #ifndef TRUE 00080 #define TRUE 1 00081 #endif 00082 #ifndef FALSE 00083 #define FALSE 0 00084 #endif 00085 #ifndef HAVE_FTRUNCATE 00086 #define HAVE_FTRUNCATE 1 00087 #endif 00088 #ifndef HAVE_GETTIMEOFDAY 00089 #define HAVE_GETTIMEOFDAY 1 00090 #endif 00091 #ifndef HAVE_INET_NTOP 00092 #define HAVE_INET_NTOP 1 00093 #endif 00094 #ifndef HAVE_INET_PTON 00095 #define HAVE_INET_PTON 1 00096 #endif 00097 #ifndef HAVE_MADVISE 00098 #define HAVE_MADVISE 1 00099 #endif 00100 #ifndef HAVE_MKSTEMP 00101 #define HAVE_MKSTEMP 1 00102 #endif 00103 #ifndef HAVE_NICE 00104 #define HAVE_NICE 1 00105 #endif 00106 #ifndef HAVE_SELECT 00107 #define HAVE_SELECT 1 00108 #endif 00109 #ifndef HAVE_POLL 00110 #define HAVE_POLL 1 00111 #endif 00112 #ifndef HAVE_RMDIR 00113 #define HAVE_RMDIR 1 00114 #endif 00115 #ifndef HAVE_SIGNAL 00116 #define HAVE_SIGNAL 1 00117 #endif 00118 #ifndef HAVE_SOCKET 00119 #define HAVE_SOCKET 1 00120 #endif 00121 #ifndef HAVE_SOCKETPAIR 00122 #define HAVE_SOCKETPAIR 1 00123 #endif 00124 #ifndef HAVE_SNPRINTF 00125 #define HAVE_SNPRINTF 1 00126 #endif 00127 #ifndef HAVE_VSNPRINTF 00128 #define HAVE_VSNPRINTF 1 00129 #endif 00130 #ifndef HAVE_STRCASECMP 00131 #define HAVE_STRCASECMP 1 00132 #endif 00133 #ifndef HAVE_STRCSPN 00134 #define HAVE_STRCSPN 1 00135 #endif 00136 #ifndef HAVE_STRNCASECMP 00137 #define HAVE_STRNCASECMP 1 00138 #endif 00139 #ifndef HAVE_STRPBRK 00140 #define HAVE_STRPBRK 1 00141 #endif 00142 #ifndef HAVE_STRSEP 00143 #define HAVE_STRSEP 1 00144 #endif 00145 #ifndef HAVE_STRSPN 00146 #define HAVE_STRSPN 1 00147 #endif 00148 #ifndef HAVE_STRTOL 00149 #define HAVE_STRTOL 1 00150 #endif 00151 #ifndef HAVE_STRTOUL 00152 #define HAVE_STRTOUL 1 00153 #endif 00154 #ifndef HAVE_UNLINK 00155 #define HAVE_UNLINK 1 00156 #endif 00157 #ifndef PLUGIN_DIR 00158 #define PLUGIN_DIR "/usr/local/lib/giFT" 00159 #endif 00160 #ifndef DATA_DIR 00161 #define DATA_DIR "/usr/local/share/giFT" 00162 #endif 00163 #ifndef GIFT_PACKAGE 00164 #define GIFT_PACKAGE "giFT" 00165 #endif 00166 #ifndef GIFT_VERSION 00167 #define GIFT_VERSION "" 00168 #endif 00169 #ifndef HAVE_DIRENT_H 00170 #define HAVE_DIRENT_H 1 00171 #endif 00172 #ifndef HAVE_FCNTL_H 00173 #define HAVE_FCNTL_H 1 00174 #endif 00175 #ifndef HAVE_GETOPT_H 00176 #define HAVE_GETOPT_H 1 00177 #endif 00178 #ifndef HAVE_INTTYPES_H 00179 #define HAVE_INTTYPES_H 1 00180 #endif 00181 #ifndef HAVE_LIMITS_H 00182 #define HAVE_LIMITS_H 1 00183 #endif 00184 #ifndef HAVE_LINUX_LIMITS_H 00185 #define HAVE_LINUX_LIMITS_H 1 00186 #endif 00187 #ifndef HAVE_MEMORY_H 00188 #define HAVE_MEMORY_H 1 00189 #endif 00190 #ifndef HAVE_STDLIB_H 00191 #define HAVE_STDLIB_H 1 00192 #endif 00193 #ifndef HAVE_STDINT_H 00194 #define HAVE_STDINT_H 1 00195 #endif 00196 #ifndef HAVE_STRINGS_H 00197 #define HAVE_STRINGS_H 1 00198 #endif 00199 #ifndef HAVE_SYSLOG_H 00200 #define HAVE_SYSLOG_H 1 00201 #endif 00202 #ifndef HAVE_SYS_MMAN_H 00203 #define HAVE_SYS_MMAN_H 1 00204 #endif 00205 #ifndef HAVE_SYS_STAT_H 00206 #define HAVE_SYS_STAT_H 1 00207 #endif 00208 #ifndef HAVE_SYS_TYPES_H 00209 #define HAVE_SYS_TYPES_H 1 00210 #endif 00211 #ifndef HAVE_UNISTD_H 00212 #define HAVE_UNISTD_H 1 00213 #endif 00214 00215 #define LIBGIFT_VERSION \ 00216 ((((0) & 0xff) << 16) | \ 00217 (((12) & 0xff) << 8) | \ 00218 (((0) & 0xff))) 00219 #define LIBGIFT_VERSIONSTR "0.12.0" 00220 00221 /* This is an ugly hack but it works until we figure out a better way to do it 00222 */ 00223 #else /* _MSC_VER */ 00224 #include "giftconfig_win32.h" 00225 #endif /* !_MSC_VER */ 00226 00227 /*****************************************************************************/ 00228 00229 #ifndef VA_COPY 00230 # if defined(VA_COPY_FUNC) 00231 # define VA_COPY VA_COPY_FUNC 00232 # elif defined(VA_COPY_BY_VAL) 00233 # define VA_COPY(dst,src) (dst) = (src) 00234 # else 00235 # error No facility was found for copying va_lists for your platform. Sorry. 00236 # endif 00237 #endif /* !VA_COPY */ 00238 00239 /*****************************************************************************/ 00240 00241 #endif /* __GIFTCONFIG_H */

Generated on Sun Aug 22 07:56:40 2004 by doxygen 1.3.7