Fix compilation error on Windows (MinGW)
error: ‘fabs’ was not declared in this scope
This commit is contained in:
parent
4a9a417860
commit
775239c2fc
@ -20,14 +20,13 @@
|
||||
#include <FL/Fl.H>
|
||||
#include <FL/Fl_Window.H>
|
||||
#include "../../Fl_Screen_Driver.H"
|
||||
|
||||
#include <math.h>
|
||||
#include <windows.h>
|
||||
#include <ole2.h>
|
||||
#include <shellapi.h>
|
||||
// Some versions of MinGW now require us to explicitly include winerror to get S_OK defined
|
||||
#include <winerror.h>
|
||||
|
||||
|
||||
extern Fl_Window *fl_xmousewin;
|
||||
|
||||
static constexpr uint8_t _FL_PEN = 0; // internal use
|
||||
@ -500,5 +499,3 @@ LRESULT fl_win32_tablet_handler(MSG& msg) {
|
||||
// want mouse events anymore!
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user