Ticket #18769: patch-sqltypes.h.diff
File patch-sqltypes.h.diff, 994 bytes (added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 16 years ago) |
---|
-
include/sqltypes.h
old new 49 49 */ 50 50 51 51 #ifndef SIZEOF_LONG_INT 52 #include <unixodbc_conf.h>52 #include "unixodbc_conf.h" 53 53 #endif 54 54 55 55 #ifndef SIZEOF_LONG_INT … … 371 371 # if (SIZEOF_LONG_INT == 8) 372 372 # define ODBCINT64 long 373 373 # define UODBCINT64 unsigned long 374 # define ODBCINT64_TYPE "long" 375 # define UODBCINT64_TYPE "unsigned long" 374 376 # else 375 377 # ifdef HAVE_LONG_LONG 376 378 # define ODBCINT64 long long 377 379 # define UODBCINT64 unsigned long long 380 # define ODBCINT64_TYPE "long long" 381 # define UODBCINT64_TYPE "unsigned long long" 378 382 # else 379 383 /* 380 384 * may fail in some cases, but what else can we do ? … … 391 395 }; 392 396 # define ODBCINT64 struct __bigint_struct 393 397 # define UODBCINT64 struct __bigint_struct_u 398 # define ODBCINT64_TYPE "struct __bigint_struct" 399 # define UODBCINT64_TYPE "struct __bigint_struct_u" 394 400 # endif 395 401 # endif 396 402 #endif