Ticket #18769: patch-odbc-config.c.diff

File patch-odbc-config.c.diff, 666 bytes (added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 16 years ago)
  • exe/odbc-config.c

    old new  
    6666    printf( "#ifndef HAVE_LONG_LONG\n #define HAVE_LONG_LONG\n#endif\n" );
    6767#endif
    6868
    69 #ifdef ODBCINT64
    70     printf( "#ifndef ODBCINT64\n #define ODBCINT64\n#endif\n" );
     69#ifdef ODBCINT64_TYPE
     70    printf( "#ifndef ODBCINT64\n #define ODBCINT64 %s\n#endif\n", ODBCINT64_TYPE );
    7171#endif
    7272
    73 #ifdef UODBCINT64
    74     printf( "#ifndef UODBCINT64\n #define UODBCINT64\n#endif\n" );
     73#ifdef UODBCINT64_TYPE
     74    printf( "#ifndef UODBCINT64\n #define UODBCINT64 %s\n#endif\n", UODBCINT64_TYPE );
    7575#endif
    7676
    7777#ifdef DISABLE_INI_CACHING