00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef _tds_sysdep_public_h_
00021 #define _tds_sysdep_public_h_
00022
00023 static char rcsid_tds_sysdep_public_h[] = "$Id: tds_sysdep_public.h,v 1.8.2.1 2011/08/04 04:38:20 freddy77 Exp $";
00024 static void *no_unused_tds_sysdep_public_h_warn[] = { rcsid_tds_sysdep_public_h, no_unused_tds_sysdep_public_h_warn };
00025
00026 #ifdef __cplusplus
00027 extern "C"
00028 {
00029 #endif
00030
00031 #include <winsock2.h>
00032 #include <windows.h>
00033 #define tds_sysdep_int16_type short
00034 #define tds_sysdep_int32_type int
00035 #define tds_sysdep_int64_type __int64
00036 #define tds_sysdep_real32_type float
00037 #define tds_sysdep_real64_type double
00038 #if !defined(WIN64) && !defined(_WIN64)
00039 #define tds_sysdep_intptr_type int
00040 #else
00041 #define tds_sysdep_intptr_type __int64
00042 #endif
00043
00044 #if !defined(MSDBLIB) && !defined(SYBDBLIB)
00045 #define SYBDBLIB 1
00046 #endif
00047 #if defined(MSDBLIB) && defined(SYBDBLIB)
00048 #error MSDBLIB and SYBDBLIB cannot both be defined
00049 #endif
00050
00051 #ifdef __cplusplus
00052 }
00053 #endif
00054
00055 #endif