You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
571 B

  1. --- a/exe/odbc-config.c
  2. +++ b/exe/odbc-config.c
  3. @@ -40,6 +40,33 @@
  4. #include <unistd.h>
  5. #endif
  6. +#ifdef USE_UNIXODBC_CONF_H
  7. +
  8. +#ifdef HAVE_UNISTD_H
  9. +#undef HAVE_UNISTD_H
  10. +#endif
  11. +#ifdef HAVE_PWD_H
  12. +#undef HAVE_PWD_H
  13. +#endif
  14. +#ifdef HAVE_SYS_TYPES_H
  15. +#undef HAVE_SYS_TYPES_H
  16. +#endif
  17. +#ifdef HAVE_LONG_LONG
  18. +#undef HAVE_LONG_LONG
  19. +#endif
  20. +#ifdef ODBCINT64
  21. +#undef ODBCINT64
  22. +#endif
  23. +#ifdef UODBCINT64
  24. +#undef UODBCINT64
  25. +#endif
  26. +#ifdef SIZEOF_LONG_INT
  27. +#undef SIZEOF_LONG_INT
  28. +#endif
  29. +
  30. +#include <unixodbc_conf.h>
  31. +#endif
  32. +
  33. #include <sql.h>
  34. static void usage( void )