1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-13 19:46:39 +00:00
termux-packages/packages/libiodbc/include-sqlext.h.patch

14 lines
431 B
Diff
Raw Normal View History

2021-12-27 05:40:30 +00: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