00001 /* ES40 emulator. 00002 * Copyright (C) 2007-2008 by the ES40 Emulator Project 00003 * 00004 * WWW : http://sourceforge.net/projects/es40 00005 * E-mail : camiel@camicom.com 00006 * 00007 * This program is free software; you can redistribute it and/or 00008 * modify it under the terms of the GNU General Public License 00009 * as published by the Free Software Foundation; either version 2 00010 * of the License, or (at your option) any later version. 00011 * 00012 * This program is distributed in the hope that it will be useful, 00013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 * GNU General Public License for more details. 00016 * 00017 * You should have received a copy of the GNU General Public License 00018 * along with this program; if not, write to the Free Software 00019 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 00020 * 00021 * Although this is not required, the author would appreciate being notified of, 00022 * and receiving any modifications you may make to the source code that might serve 00023 * the general public. 00024 */ 00025 00040 /* Version number of package */ 00041 #define VERSION "0.18+" 00042 00043 /* Define to 1 if you have the `alarm' function. */ 00044 #define HAVE_ALARM 1 00045 00046 /* Define to 1 if you have the <arpa/inet.h> header file. */ 00047 //#define HAVE_ARPA_INET_H 1 00048 00049 //#define HAVE_ARPA_TELNET_H 1 00050 00051 /* Define to 1 if you have the `atexit' function. */ 00052 #define HAVE_ATEXIT 1 00053 00054 #define HAVE_CTYPE_H 1 00055 00056 #define HAVE_ERRNO_H 1 00057 00058 /* Define to 1 if you have the <fcntl.h> header file. */ 00059 #define HAVE_FCNTL_H 1 00060 00061 #define HAVE_FOPEN 1 00062 00063 // #define HAVE_FOPEN64 1 00064 00065 #define HAVE_FTELL 1 00066 00067 #define HAVE_FTELLO 1 00068 00069 // #define HAVE_FTELLO64 1 00070 00071 // #define HAVE__FTELLI64 1 00072 00073 #define HAVE_FSEEK 1 00074 00075 #define HAVE_FSEEKO 1 00076 00077 // #define HAVE_FSEEKO64 1 00078 00079 // #define HAVE__FSEEKI64 1 00080 00081 /* Define to 1 if you have the `fork' function. */ 00082 #define HAVE_FORK 1 00083 00084 /* Defint to 1 if you have the 'gmtime_s' function. */ 00085 //#define HAVE_GMTIME_S 1 00086 00087 /* Define to 1 if you have the <in.h> header file. */ 00088 #define HAVE_IN_H 1 00089 00090 /* Define to 1 if you have the <inet.h> header file. */ 00091 #define HAVE_INET_H 1 00092 00093 #define HAVE_INET_ATON 1 00094 00095 /* Define to 1 if you have the <inttypes.h> header file. */ 00096 //#define HAVE_INTTYPES_H 1 00097 00098 /* Define to 1 if you have the 'isblank' function. */ 00099 #define HAVE_ISBLANK 1 00100 00101 /* Define to 1 if your system has a GNU libc compatible `malloc' function, and 00102 to 0 otherwise. */ 00103 #define HAVE_MALLOC 1 00104 00105 /* Define to 1 if you have the <malloc.h> header file. */ 00106 //#define HAVE_MALLOC_H 1 00107 00108 /* Define to 1 if you have the <memory.h> header file. */ 00109 #define HAVE_MEMORY_H 1 00110 00111 /* Define to 1 if you have the `memset' function. */ 00112 #define HAVE_MEMSET 1 00113 00114 /* Define to 1 if you have the <netinet/in.h> header file. */ 00115 //#define HAVE_NETINET_IN_H 1 00116 00117 /* Define to 1 if you have the `pow' function. */ 00118 #define HAVE_POW 1 00119 00120 /* Define to 1 if you have the <process.h> header file. */ 00121 //#define HAVE_PROCESS_H 1 00122 00123 /* Define to 1 if you have the <pthread.h> header file. */ 00124 //#define HAVE_PTHREAD_H 1 00125 00126 /* Define to 1 if your system has a GNU libc compatible `realloc' function, 00127 and to 0 otherwise. */ 00128 #define HAVE_REALLOC 1 00129 00130 /* Define to 1 if you have the `select' function. */ 00131 #define HAVE_SELECT 1 00132 00133 /* Define to 1 if you have the <signal.h> header file. */ 00134 #define HAVE_SIGNAL_H 1 00135 00136 /* Define to 1 if you have the `socket' function. */ 00137 #define HAVE_SOCKET 1 00138 00139 /* Define to 1 if you have the <socket.h> header file. */ 00140 #define HAVE_SOCKET_H 1 00141 00142 /* Define to 1 if you have the `sqrt' function. */ 00143 #define HAVE_SQRT 1 00144 00145 /* Define to 1 if stdbool.h conforms to C99. */ 00146 #define HAVE_STDBOOL_H 1 00147 00148 /* Define to 1 if you have the <stdint.h> header file. */ 00149 //#define HAVE_STDINT_H 1 00150 00151 /* Define to 1 if you have the <stdlib.h> header file. */ 00152 #define HAVE_STDLIB_H 1 00153 00154 /* Define to 1 if you have the `strcasecmp' function. */ 00155 #define HAVE_STRCASECMP 1 00156 00157 /* Define to 1 if you have the '_stricmp' function. */ 00158 //#define HAVE__STRICMP 1 00159 00160 /* Define to 1 if you have the `strchr' function. */ 00161 #define HAVE_STRCHR 1 00162 00163 /* Define to 1 if you have the `strdup' function. */ 00164 #define HAVE_STRDUP 1 00165 00166 /* Definr to 1 if you have the '_strdup' function. */ 00167 #define HAVE__STRDUP 1 00168 00169 /* Define to 1 if you have the <strings.h> header file. */ 00170 #define HAVE_STRINGS_H 1 00171 00172 /* Define to 1 if you have the <string.h> header file. */ 00173 #define HAVE_STRING_H 1 00174 00175 /* Define to 1 if you have the `strncasecmp' function. */ 00176 #define HAVE_STRNCASECMP 1 00177 00178 /* Define to 1 if you have the '_strnicmp' function. */ 00179 //#define HAVE__STRNICMP 1 00180 00181 /* Define to 1 if you have the `strspn' function. */ 00182 #define HAVE_STRSPN 1 00183 00184 /* Define to 1 if you have the <sys/param.h> header file. */ 00185 #define HAVE_SYS_PARAM_H 1 00186 00187 /* Define to 1 if you have the <sys/select.h> header file. */ 00188 //#define HAVE_SYS_SELECT_H 1 00189 00190 /* Define to 1 if you have the <sys/socket.h> header file. */ 00191 //#define HAVE_SYS_SOCKET_H 1 00192 00193 /* Define to 1 if you have the <sys/stat.h> header file. */ 00194 #define HAVE_SYS_STAT_H 1 00195 00196 /* Define to 1 if you have the <sys/time.h> header file. */ 00197 #define HAVE_SYS_TIME_H 1 00198 00199 /* Define to 1 if you have the <sys/types.h> header file. */ 00200 #define HAVE_SYS_TYPES_H 1 00201 00202 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */ 00203 //#define HAVE_SYS_WAIT_H 1 00204 00205 /* Define to 1 if you have the <unistd.h> header file. */ 00206 //#define HAVE_UNISTD_H 1 00207 00208 /* Define to 1 if you have the `vfork' function. */ 00209 #define HAVE_VFORK 1 00210 00211 /* Define to 1 if you have the <vfork.h> header file. */ 00212 /* #undef HAVE_VFORK_H */ 00213 00214 /* Define to 1 if you have the <windows.h> header file. */ 00215 //#define HAVE_WINDOWS_H 1 00216 00217 //#define HAVE_WINSOCK2_H 1 00218 00219 //#define HAVE_WS2TCPIP_H 1 00220 00221 /* Define to 1 if `fork' works. */ 00222 #define HAVE_WORKING_FORK 1 00223 00224 /* Define to 1 if `vfork' works. */ 00225 #define HAVE_WORKING_VFORK 1 00226 00227 /* Define to 1 if the system has the type `_Bool'. */ 00228 #define HAVE__BOOL 1 00229 00230 /* Name of package */ 00231 #define PACKAGE "es40" 00232 00233 /* Define to the address where bug reports for this package should be sent. */ 00234 #define PACKAGE_BUGREPORT "iamcamiel@gmail.com" 00235 00236 /* Define to the full name of this package. */ 00237 #define PACKAGE_NAME "es40" 00238 00239 /* Define to the full name and version of this package. */ 00240 #define PACKAGE_STRING "es40 " VERSION 00241 00242 /* Define to the one symbol short name of this package. */ 00243 #define PACKAGE_TARNAME "es40" 00244 00245 /* Define to the version of this package. */ 00246 #define PACKAGE_VERSION VERSION 00247 00248 /* Define as the return type of signal handlers (`int' or `void'). */ 00249 #define RETSIGTYPE void 00250 00251 /* Define to the type of arg 1 for `select'. */ 00252 #define SELECT_TYPE_ARG1 int 00253 00254 /* Define to the type of args 2, 3 and 4 for `select'. */ 00255 #define SELECT_TYPE_ARG234 (fd_set *) 00256 00257 /* Define to the type of arg 5 for `select'. */ 00258 #define SELECT_TYPE_ARG5 (struct timeval *) 00259 00260 /* Define to 1 if you have the ANSI C header files. */ 00261 #define STDC_HEADERS 1 00262 00263 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ 00264 #define TIME_WITH_SYS_TIME 1 00265 00266 /* Define to 1 if your <sys/time.h> declares `struct tm'. */ 00267 /* #undef TM_IN_SYS_TIME */ 00268 00269 /* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>, 00270 <pthread.h>, or <semaphore.h> is not used. If the typedef was allowed, the 00271 #define below would cause a syntax error. */ 00272 /* #undef _UINT32_T */ 00273 00274 /* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>, 00275 <pthread.h>, or <semaphore.h> is not used. If the typedef was allowed, the 00276 #define below would cause a syntax error. */ 00277 /* #undef _UINT64_T */ 00278 00279 /* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>, 00280 <pthread.h>, or <semaphore.h> is not used. If the typedef was allowed, the 00281 #define below would cause a syntax error. */ 00282 /* #undef _UINT8_T */ 00283 00284 /* Define to empty if `const' does not conform to ANSI C. */ 00285 /* #undef const */ 00286 00287 /* Define to `__inline__' or `__inline' if that's what the C compiler 00288 calls it, or to nothing if 'inline' is not supported under any name. */ 00289 #ifndef __cplusplus 00290 /* #undef inline */ 00291 #endif 00292 00293 /* Define to the type of a signed integer type of width exactly 16 bits if 00294 such a type exists and the standard includes do not define it. */ 00295 typedef signed __int16 int16_t; 00296 00297 /* Define to the type of a signed integer type of width exactly 32 bits if 00298 such a type exists and the standard includes do not define it. */ 00299 typedef signed __int32 int32_t; 00300 00301 /* Define to the type of a signed integer type of width exactly 64 bits if 00302 such a type exists and the standard includes do not define it. */ 00303 typedef signed __int64 int64_t; 00304 00305 /* Define to the type of a signed integer type of width exactly 8 bits if such 00306 a type exists and the standard includes do not define it. */ 00307 typedef signed __int8 int8_t; 00308 00309 /* Define to rpl_malloc if the replacement function should be used. */ 00310 /* #undef malloc */ 00311 00312 /* Define to `int' if <sys/types.h> does not define. */ 00313 /* #undef pid_t */ 00314 00315 /* Define to rpl_realloc if the replacement function should be used. */ 00316 /* #undef realloc */ 00317 00318 /* Define to `unsigned int' if <sys/types.h> does not define. */ 00319 /* #undef size_t */ 00320 00321 /* Define to `int' if <sys/types.h> does not define. */ 00322 /* #undef ssize_t */ 00323 00324 /* Define to the type of an unsigned integer type of width exactly 16 bits if 00325 such a type exists and the standard includes do not define it. */ 00326 typedef unsigned __int16 uint16_t; 00327 00328 /* Define to the type of an unsigned integer type of width exactly 32 bits if 00329 such a type exists and the standard includes do not define it. */ 00330 typedef unsigned __int32 uint32_t; 00331 00332 /* Define to the type of an unsigned integer type of width exactly 64 bits if 00333 such a type exists and the standard includes do not define it. */ 00334 typedef unsigned __int64 uint64_t; 00335 00336 /* Define to the type of an unsigned integer type of width exactly 8 bits if 00337 such a type exists and the standard includes do not define it. */ 00338 typedef unsigned __int8 uint8_t; 00339 00340 /* Define as `fork' if `vfork' does not work. */ 00341 /* #undef vfork */ 00342