1 /* 2 3 G N O K I I 4 5 A Linux/Unix toolset and driver for mobile phones. 6 7 This file is part of gnokii. 8 9 Gnokii is free software; you can redistribute it and/or modify 10 it under the terms of the GNU General Public License as published by 11 the Free Software Foundation; either version 2 of the License, or 12 (at your option) any later version. 13 14 Gnokii is distributed in the hope that it will be useful, 15 but WITHOUT ANY WARRANTY; without even the implied warranty of 16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 GNU General Public License for more details. 18 19 You should have received a copy of the GNU General Public License 20 along with gnokii; if not, write to the Free Software 21 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 22 23 Copyright (C) 2003 Marcus Godehardt 24 25 This is the config.h file for GNOKII for MSVS2008 compiler, you can 26 edit this manually. This is not auto generated. 27 28 */ 29 30 #ifndef _config_h 31 #define _config_h 32 33 #if defined(_MSC_VER) && defined(WIN32) 34 # pragma once 35 #else 36 # error This config.h is only for MSVS2008 compiler !!! 37 #endif 38 39 #undef VERSION 40 #define VERSION "0.6.31" 41 42 /* We support Bluetooth and IRDA on MSVS 2008 */ 43 #define HAVE_BLUETOOTH 1 44 #define HAVE_IRDA 1 45 46 /* Define if you have the following headers */ 47 #define HAVE_STDARG_H 1 48 #define HAVE_STRING_H 1 49 #undef HAVE_STRINGS_H 50 #undef HAVE_STDINT_H 51 #undef HAVE_INTTYPES_H 52 #define HAVE_SYS_TYPES_H 1 53 #undef HAVE_SYS_FILE_H 54 #undef HAVE_SYS_TIME_H 55 #undef HAVE_UNISTD_H 56 #define HAVE_CTYPE_H 1 57 #define HAVE_STDLIB_H 1 58 #define HAVE_DIRECT_H 1 59 #define HAVE_LIMITS_H 1 60 #define HAVE_SYS_STAT_H 1 61 62 /* Define if your compiler supports long long */ 63 #undef HAVE_LONG_LONG 64 65 /* Define if your compiler supports long double */ 66 #undef HAVE_LONG_DOUBLE 67 68 /* Define if you have timersub() */ 69 #undef HAVE_TIMEOPS 70 71 /* Define if you have gettimeofday() */ 72 #undef HAVE_GETTIMEOFDAY 73 74 /* Define if you have tm_gmtoff field in tm structure */ 75 #undef HAVE_TM_GMTON 76 77 /* Define if you have cfsetspeed, cfsetispeed, cfsetospeed, c_ispeed and c_ospeed in struct termios */ 78 #undef HAVE_CFSETSPEED 79 #undef HAVE_CFSETOSPEED 80 #undef HAVE_TERMIOS_CSPEED 81 82 /* Define both if you have ISO C99 compliant snprintf */ 83 #undef HAVE_SNPRINTF 84 #undef HAVE_C99_SNPRINTF 85 86 /* Define both if you have ISO C99 compliant vsnprintf */ 87 #define HAVE_VSNPRINTF 1 88 #define HAVE_C99_VSNPRINTF 1 89 90 /* Define if you have asprintf */ 91 #undef HAVE_ASPRINTF 92 93 /* Define if you have vasprintf */ 94 #undef HAVE_VASPRINTF 95 96 /* Define if you have strsep */ 97 #undef HAVE_STRSEP 98 99 /* Define debug level */ 100 #define DEBUG 1 101 #define XDEBUG 1 102 #define RLP_DEBUG 1 103 104 /* Decide if you want security options enabled */ 105 #define SECURITY 106 107 /* Define if you have XPM components */ 108 #undef XPM 109 110 /* Define if you want NLS */ 111 #undef ENABLE_NLS 112 113 /* Define if you have <langinfo.h> and nl_langinfo(CODESET). */ 114 #undef HAVE_LANGINFO_CODESET 115 116 /* Define if you want to use Unix98 PTYs */ 117 #undef USE_UNIX98PTYS 118 119 /* Define if struct msghdr has msg_control field */ 120 #undef HAVE_MSGHDR_MSG_CONTROL 121 122 /* Define to 1 if you have the `setenv' function. */ 123 #define HAVE_SETENV 1 124 125 /* FIXME: Disable some odd warnings, comment these lines if u wanna fix the bad code lines */ 126 #pragma warning(disable : 4244) // conversion from 'int ' to 'float ', possible loss of data 127 #pragma warning(disable : 4761) // integral size mismatch in argument; conversion supplied 128 #pragma warning(disable : 4018) // signed/unsigned mismatch 129 #pragma warning(disable : 4305) // truncation from 'const int ' to 'char ' 130 #pragma warning(disable : 4996) // 'strnicmp' was declared deprecated 131 132 /* Suppress CRT warnings */ 133 #define _CRT_SECURE_NO_DEPRECATE 134 135 #endif // _config_h 136