aboutsummaryrefslogtreecommitdiffstats
path: root/lib/odbc/test/odbc_test.hrl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/odbc/test/odbc_test.hrl')
-rw-r--r--lib/odbc/test/odbc_test.hrl7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/odbc/test/odbc_test.hrl b/lib/odbc/test/odbc_test.hrl
index 7d2522d667..397d04756b 100644
--- a/lib/odbc/test/odbc_test.hrl
+++ b/lib/odbc/test/odbc_test.hrl
@@ -27,7 +27,12 @@
{unix, sunos} ->
postgres;
{unix,linux} ->
- mysql;
+ case erlang:system_info(wordsize) of
+ 4 ->
+ mysql;
+ _ ->
+ postgres
+ end;
{win32, _} ->
sqlserver
end).