Ticket #18769: patch-sqltypes.h.diff

File patch-sqltypes.h.diff, 994 bytes (added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 15 years ago)
  • include/sqltypes.h

    old new  
    4949 */
    5050
    5151#ifndef SIZEOF_LONG_INT
    52 #include <unixodbc_conf.h>
     52#include "unixodbc_conf.h"
    5353#endif
    5454
    5555#ifndef SIZEOF_LONG_INT
     
    371371# if (SIZEOF_LONG_INT == 8)
    372372#   define ODBCINT64        long
    373373#   define UODBCINT64   unsigned long
     374#   define ODBCINT64_TYPE           "long"
     375#   define UODBCINT64_TYPE      "unsigned long"
    374376# else
    375377#  ifdef HAVE_LONG_LONG
    376378#   define ODBCINT64        long long
    377379#   define UODBCINT64   unsigned long long
     380#   define ODBCINT64_TYPE           "long long"
     381#   define UODBCINT64_TYPE      "unsigned long long"
    378382#  else
    379383/*
    380384 * may fail in some cases, but what else can we do ?
     
    391395};
    392396#   define ODBCINT64        struct __bigint_struct
    393397#   define UODBCINT64   struct __bigint_struct_u
     398#   define ODBCINT64_TYPE           "struct __bigint_struct"
     399#   define UODBCINT64_TYPE      "struct __bigint_struct_u"
    394400#  endif
    395401# endif
    396402#endif