summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
Diffstat (limited to 'FL')
-rw-r--r--FL/porting.H4
1 files changed, 2 insertions, 2 deletions
diff --git a/FL/porting.H b/FL/porting.H
index 776dd8779..01984aa71 100644
--- a/FL/porting.H
+++ b/FL/porting.H
@@ -25,6 +25,8 @@
#endif // !Fl_X_H
+typedef void *Window;
+
#if !(defined(FL_LIBRARY) || defined(FL_INTERNALS)) // this part is used when compiling an application program
# include <FL/Fl_Widget.H>
@@ -43,8 +45,6 @@ typedef void *Fl_Offscreen;
struct XPoint { int x, y; };
struct XRectangle {int x, y, width, height;};
-typedef void *Window;
-
//typedef float CGFloat;
inline Fl_Region XRectangleRegion(int x, int y, int w, int h) {