aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2012-02-16 11:10:18 +0100
committerDan Gudmundsson <[email protected]>2012-02-16 15:52:19 +0100
commit2e3260f90ce4cb595296a36fbd212578e10a7e94 (patch)
tree5a1e24b2bb80681902c355e71bdfc060b2170c1c /lib/wx
parenta181c06152a3c935fdf63659322020fb7625b577 (diff)
downloadotp-2e3260f90ce4cb595296a36fbd212578e10a7e94.tar.gz
otp-2e3260f90ce4cb595296a36fbd212578e10a7e94.tar.bz2
otp-2e3260f90ce4cb595296a36fbd212578e10a7e94.zip
[wx] Remove redundant erts version check
Diffstat (limited to 'lib/wx')
-rw-r--r--lib/wx/src/wxe_master.erl11
1 files changed, 2 insertions, 9 deletions
diff --git a/lib/wx/src/wxe_master.erl b/lib/wx/src/wxe_master.erl
index 9efe59054c..ac6e4a56e6 100644
--- a/lib/wx/src/wxe_master.erl
+++ b/lib/wx/src/wxe_master.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2008-2011. All Rights Reserved.
+%% Copyright Ericsson AB 2008-2012. 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
@@ -100,17 +100,10 @@ init([]) ->
case catch erlang:system_info(smp_support) of
true -> ok;
_ ->
- error_logger:format("WX ERROR: SMP emulator required", []),
+ error_logger:format("WX ERROR: SMP emulator required (start with erl -smp)", []),
erlang:error(not_smp)
end,
- case catch (erlang:system_info(version) >= "5.6.2") of
- true -> ok;
- _ -> %% Needs to be able to disable FPU exceptions.
- error_logger:format("WX ERROR: OTP R12B-2 or Emulator >= 5.6.2 required", []),
- erlang:error(wrong_version)
- end,
- %% io:format("Loading ~p @ ~p ~n", [DriverName,PrivDir]),
case os:type() of
{win32,_} -> %% Needed for mingwm10.dll
Path = os:getenv("PATH"),