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.5 2004/02/03 19:28:12 jklowden 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 <windows.h>
00032 #define tds_sysdep_int16_type short
00033 #define tds_sysdep_int32_type int
00034 #define tds_sysdep_int64_type __int64
00035 #define tds_sysdep_real32_type float
00036 #define tds_sysdep_real64_type double
00037 #define tds_sysdep_intptr_type int
00038 typedef SOCKET TDS_SYS_SOCKET;
00039 #ifndef TDS_IS_SOCKET_INVALID
00040 #define TDS_IS_SOCKET_INVALID(s) ((s) == INVALID_SOCKET)
00041 #endif
00042
00043 #ifdef __cplusplus
00044 }
00045 #endif
00046
00047 #endif