From 2e3260f90ce4cb595296a36fbd212578e10a7e94 Mon Sep 17 00:00:00 2001 From: Dan Gudmundsson Date: Thu, 16 Feb 2012 11:10:18 +0100 Subject: [wx] Remove redundant erts version check --- lib/wx/src/wxe_master.erl | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'lib/wx/src') 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"), -- cgit v1.2.3