termux-packages/packages/libiodbc/include-sqlext.h.patch

14 lines
431 B
Diff
Raw Normal View History

2021-12-27 06:40:30 +01:00
--- a/include/sqlext.h
+++ b/include/sqlext.h
@@ -476,8 +476,8 @@
#define SQL_OPT_TRACE_FILE_DEFAULT "\\SQL.LOG"
#define SQL_OPT_TRACE_FILE_DEFAULTW L"\\SQL.LOG"
#else
-#define SQL_OPT_TRACE_FILE_DEFAULT "/tmp/odbc.log"
-#define SQL_OPT_TRACE_FILE_DEFAULTW L"/tmp/odbc.log"
+#define SQL_OPT_TRACE_FILE_DEFAULT "@TERMUX_PREFIX@/tmp/odbc.log"
+#define SQL_OPT_TRACE_FILE_DEFAULTW L"@TERMUX_PREFIX@/tmp/odbc.log"
#endif