aboutsummaryrefslogtreecommitdiffstats
path: root/lib/odbc/test/odbc_test.hrl
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2011-08-24 16:44:16 +0200
committerAnders Svensson <[email protected]>2011-08-24 16:44:16 +0200
commit3536111957c809976ed3e7091e85960990be904d (patch)
treeaafc4cf4f996ece272e6b9c3d2366061c34f08da /lib/odbc/test/odbc_test.hrl
parenta7c0e439ee84d25ce18f65959be06315063a7de8 (diff)
parent0c09797c725c98e5466bf6c575b7be4f2fc0e813 (diff)
downloadotp-3536111957c809976ed3e7091e85960990be904d.tar.gz
otp-3536111957c809976ed3e7091e85960990be904d.tar.bz2
otp-3536111957c809976ed3e7091e85960990be904d.zip
Merge remote branch 'upstream/dev' into dev
Diffstat (limited to 'lib/odbc/test/odbc_test.hrl')
-rw-r--r--lib/odbc/test/odbc_test.hrl6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/odbc/test/odbc_test.hrl b/lib/odbc/test/odbc_test.hrl
index 397d04756b..f7bb338a7f 100644
--- a/lib/odbc/test/odbc_test.hrl
+++ b/lib/odbc/test/odbc_test.hrl
@@ -25,14 +25,16 @@
-define(RDBMS, case os:type() of
{unix, sunos} ->
- postgres;
+ mysql;
{unix,linux} ->
- case erlang:system_info(wordsize) of
+ case erlang:system_info({wordsize, external}) of
4 ->
mysql;
_ ->
postgres
end;
+ {unix, darwin} ->
+ mysql;
{win32, _} ->
sqlserver
end).