From 717a7d266b629233255ae0816c5eac8832bd17fb Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Sun, 3 Apr 2022 20:10:08 +0200 Subject: Remove '#include ' from FL/platform_types.h - Add this include statement only where needed. - Rename Fl_System_Driver::stat() to flstat(). This fixes an issue when using some (!) MinGW 64-bit build systems that obviously '#define stat _stat64' or similar. This would result in compiler problems if 'stat()' is a member function of Fl_System_Driver. --- FL/platform_types.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'FL/platform_types.h') diff --git a/FL/platform_types.h b/FL/platform_types.h index 8b0527183..f831b8b22 100644 --- a/FL/platform_types.h +++ b/FL/platform_types.h @@ -90,7 +90,6 @@ typedef int FL_SOCKET; typedef class NSOpenGLContext* GLContext; #endif /* __OBJC__ */ -#include #include #include # define FL_COMMAND FL_META @@ -106,7 +105,6 @@ typedef unsigned __int64 FL_SOCKET; /* *FIXME* - FL_SOCKET (see above) */ typedef int FL_SOCKET; # endif typedef struct HGLRC__ *GLContext; -#include #ifdef __MINGW32__ # include #else @@ -119,7 +117,6 @@ typedef struct flCairoRegion* Fl_Region; typedef int FL_SOCKET; /**< socket or file descriptor */ typedef void *EGLContext; typedef EGLContext GLContext; -#include #include #include @@ -129,7 +126,6 @@ typedef unsigned long Fl_Offscreen; typedef struct _XRegion *Fl_Region; typedef int FL_SOCKET; typedef struct __GLXcontextRec *GLContext; -#include #include #include -- cgit v1.2.3