comparison src/define.h @ 123:ab2a11e72250

more cleanup of #include files. common.h is the only file allowed to include system .h files unprotected by autoconf HAVE_ symbols. define.h is the only other file allowed to include system .h files. define.h is never installed; common.h is installed if we are building the shared library.
author Carl Byington <carl@five-ten-sg.com>
date Tue, 03 Feb 2009 10:59:10 -0800
parents bdb38b434c0a
children 7f747c8c9d02
comparison
equal deleted inserted replaced
122:bdb38b434c0a 123:ab2a11e72250
69 #include <signal.h> 69 #include <signal.h>
70 #endif 70 #endif
71 71
72 #ifdef HAVE_ERRNO_H 72 #ifdef HAVE_ERRNO_H
73 #include <errno.h> 73 #include <errno.h>
74 #endif
75
76 #ifdef HAVE_ICONV_H
77 #include <iconv.h>
78 #endif
79
80 #ifdef HAVE_REGEX_H
81 #include <regex.h>
82 #endif
83
84 #ifdef HAVE_GD_H
85 #include <gd.h>
74 #endif 86 #endif
75 87
76 88
77 #define PERM_DIRS 0777 89 #define PERM_DIRS 0777
78 90
92 #define fseeko fseeko64 104 #define fseeko fseeko64
93 #else 105 #else
94 #error Only MSC and mingw supported for Windows 106 #error Only MSC and mingw supported for Windows
95 #endif 107 #endif
96 #ifndef __MINGW32__ 108 #ifndef __MINGW32__
97 #define off_t __int64
98 #define size_t __int64 109 #define size_t __int64
99 #endif 110 #endif
100 #ifndef UINT64_MAX 111 #ifndef UINT64_MAX
101 #define UINT64_MAX ((uint64_t)0xffffffffffffffff) 112 #define UINT64_MAX ((uint64_t)0xffffffffffffffff)
102 #endif 113 #endif