summaryrefslogtreecommitdiff
path: root/lib/wx
diff options
context:
space:
mode:
authorJohn Högberg <john@erlang.org>2020-11-05 12:31:08 +0100
committerJohn Högberg <john@erlang.org>2020-11-09 10:00:39 +0100
commite6d9d0da048513552bacbac80356e1d962431062 (patch)
tree10a8b86f3ab04e35aac9217f5857f9d59bcbf1f9 /lib/wx
parent18e25cb97a4eddda8f9a440141e8b122e6430873 (diff)
downloaderlang-e6d9d0da048513552bacbac80356e1d962431062.tar.gz
otp: Remove HiPE and HiPE-related accessories
Diffstat (limited to 'lib/wx')
-rw-r--r--lib/wx/c_src/wxe_main.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/wx/c_src/wxe_main.cpp b/lib/wx/c_src/wxe_main.cpp
index fdee1fb1c0..a983dc1b84 100644
--- a/lib/wx/c_src/wxe_main.cpp
+++ b/lib/wx/c_src/wxe_main.cpp
@@ -24,13 +24,6 @@
#include "wxe_impl.h"
-// Until fixed in emulator
-#ifndef _WIN32
-extern "C" {
- extern void erts_thread_disable_fpe(void);
-}
-#endif
-
ErlDrvTid wxe_thread;
ErlDrvMutex *wxe_status_m;
@@ -139,9 +132,7 @@ void *wxe_main_loop(void *vpdl)
// Disable floating point execption if they are on.
// This should be done in emulator but it's not in yet.
-#ifndef _WIN32
- erts_thread_disable_fpe();
-#else
+#ifdef _WIN32
// Setup that wxWidgets should look for cursors and icons in
// this dll and not in werl.exe (which is the default)
HMODULE WXEHandle = GetModuleHandle(_T("wxe_driver"));