summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-03-25 13:08:48 +0000
committerManolo Gouy <Manolo>2016-03-25 13:08:48 +0000
commita69133d3177f025d9810bdf9305147f80bbb270e (patch)
treec0513df6f46a47acb80860a0a03055ab376e3e98 /FL
parent2530120d7d084f1ffbb9331e925153a3bcb15b92 (diff)
Separating platform-dependent from platform-independent code: make src/Fl.cxx cross-platform.
File src/Fl_win32.cxx is now compiled instead of included in Fl.cxx. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11420 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl.H7
-rw-r--r--FL/Fl_System_Driver.H9
2 files changed, 8 insertions, 8 deletions
diff --git a/FL/Fl.H b/FL/Fl.H
index 4dca0c97e..2c0d6cf1e 100644
--- a/FL/Fl.H
+++ b/FL/Fl.H
@@ -65,13 +65,6 @@ class Fl_Screen_Driver;
# define FL_SOCKET int
#endif
-// Pointers you can use to change FLTK to a foreign language.
-// Note: Similar pointers are defined in FL/fl_ask.H and src/fl_ask.cxx
-extern FL_EXPORT const char* fl_local_ctrl;
-extern FL_EXPORT const char* fl_local_meta;
-extern FL_EXPORT const char* fl_local_alt;
-extern FL_EXPORT const char* fl_local_shift;
-
/** \defgroup callback_functions Callback function typedefs
\brief Typedefs defined in <FL/Fl.H> for callback or handler functions passed as function parameters.
diff --git a/FL/Fl_System_Driver.H b/FL/Fl_System_Driver.H
index 9cb36b45f..f5384407d 100644
--- a/FL/Fl_System_Driver.H
+++ b/FL/Fl_System_Driver.H
@@ -25,7 +25,14 @@
#define FL_SYSTEM_DRIVER_H
#include <FL/Fl_Device.H>
-
+#include <FL/Fl_Export.H>
+
+// Pointers you can use to change FLTK to a foreign language.
+// Note: Similar pointers are defined in FL/fl_ask.H and src/fl_ask.cxx
+extern FL_EXPORT const char* fl_local_alt;
+extern FL_EXPORT const char* fl_local_ctrl;
+extern FL_EXPORT const char* fl_local_meta;
+extern FL_EXPORT const char* fl_local_shift;
/**
\brief A base class for platform specific window handling code.