![]() |
Shadowrun: Awakened 29 September 2011 - Build 871
|
00001 /* 00002 Copyright 2009 Sun Microsystems, Inc. All rights reserved. 00003 00004 The MySQL Connector/C++ is licensed under the terms of the GPL 00005 <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most 00006 MySQL Connectors. There are special exceptions to the terms and 00007 conditions of the GPL as it is applied to this software, see the 00008 FLOSS License Exception 00009 <http://www.mysql.com/about/legal/licensing/foss-exception.html>. 00010 */ 00011 00012 // libmysql defines HAVE_STRTOUL (on win), so we have to follow different pattern in definitions names 00013 // to avoid annoying warnings. 00014 00015 /* #undef HAVE_FUNCTION_STRTOLD */ 00016 /* #undef HAVE_FUNCTION_STRTOLL */ 00017 #define HAVE_FUNCTION_STRTOL 1 00018 /* #undef HAVE_FUNCTION_STRTOULL */ 00019 00020 #define HAVE_FUNCTION_STRTOUL 1 00021 00022 /* #undef HAVE_FUNCTION_STRTOIMAX */ 00023 /* #undef HAVE_FUNCTION_STRTOUMAX */ 00024 00025 /* #undef HAVE_STDINT_H */ 00026 /* #undef HAVE_INTTYPES_H */ 00027 00028 /* #undef HAVE_INT8_T */ 00029 /* #undef HAVE_UINT8_T */ 00030 /* #undef HAVE_INT16_T */ 00031 /* #undef HAVE_UINT16_T */ 00032 /* #undef HAVE_INT32_T */ 00033 /* #undef HAVE_UINT32_T */ 00034 /* #undef HAVE_INT32_T */ 00035 /* #undef HAVE_UINT32_T */ 00036 /* #undef HAVE_INT64_T */ 00037 /* #undef HAVE_UINT64_T */ 00038 /* 00039 #define HAVE_MS_INT8 1 00040 #define HAVE_MS_UINT8 1 00041 #define HAVE_MS_INT16 1 00042 #define HAVE_MS_UINT16 1 00043 #define HAVE_MS_INT32 1 00044 #define HAVE_MS_UINT32 1 00045 #define HAVE_MS_INT64 1 00046 #define HAVE_MS_UINT64 1 00047 */ 00048 00049 #ifdef HAVE_STDINT_H 00050 #include <stdint.h> 00051 #endif 00052 00053 #ifdef HAVE_INTTYPES_H 00054 #include <inttypes.h> 00055 #endif 00056 00057 #if defined(_WIN32) || defined(_WIN64) 00058 #ifndef CPPCONN_DONT_TYPEDEF_MS_TYPES_TO_C99_TYPES 00059 00060 #ifdef HAVE_MS_INT8 00061 typedef __int8 int8_t; 00062 #endif 00063 00064 #ifdef HAVE_MS_UINT8 00065 typedef unsigned __int8 uint8_t; 00066 #endif 00067 #ifdef HAVE_MS_INT16 00068 typedef __int16 int16_t; 00069 #endif 00070 00071 #ifdef HAVE_MS_UINT16 00072 typedef unsigned __int16 uint16_t; 00073 #endif 00074 00075 #ifdef HAVE_MS_INT32 00076 typedef __int32 int32_t; 00077 #endif 00078 00079 #ifdef HAVE_MS_UINT32 00080 typedef unsigned __int32 uint32_t; 00081 #endif 00082 00083 #ifdef HAVE_MS_INT64 00084 typedef __int64 int64_t; 00085 #endif 00086 #ifdef HAVE_MS_UINT64 00087 typedef unsigned __int64 uint64_t; 00088 #endif 00089 00090 #endif // CPPCONN_DONT_TYPEDEF_MS_TYPES_TO_C99_TYPES 00091 #endif // _WIN32
Copyright © 2007-2010 by The Shadowrun: Awakened Team. This work is licensed under the GNU Lesser General Public License 3.