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.hrl9
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/odbc/test/odbc_test.hrl b/lib/odbc/test/odbc_test.hrl
index 87f50043db..397d04756b 100644
--- a/lib/odbc/test/odbc_test.hrl
+++ b/lib/odbc/test/odbc_test.hrl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2002-2010. All Rights Reserved.
+%% Copyright Ericsson AB 2002-2011. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -27,7 +27,12 @@
{unix, sunos} ->
postgres;
{unix,linux} ->
- postgres;
+ case erlang:system_info(wordsize) of
+ 4 ->
+ mysql;
+ _ ->
+ postgres
+ end;
{win32, _} ->
sqlserver
end).