summaryrefslogtreecommitdiff
path: root/src/xutf8
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2016-03-02 00:54:37 +0000
committerMatthias Melcher <fltk@matthiasm.com>2016-03-02 00:54:37 +0000
commit53859c584f203b11b9a3a9cd5600e938421f2f36 (patch)
treefb27aaa0195f5aca5cdc436e43fbb0b81f8de3d8 /src/xutf8
parentf14de4048eb36ce1aa07d837349dc9687f6f0a61 (diff)
Add support for SDL as a base library on OS X.
This commit adds the basic setup in CMake to allow SDL as a base library for FLTK on OS X (and probably for other platforms as well). The SDL library driver set is derived from yet another new driver set named 'Pico'. 'Pico' is a base class for a driver that will allow porting of FLTK with the tinyest amount of effort. This implementation of the SDL driver shall be documented very well to explain the porting process. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11262 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/xutf8')
-rw-r--r--src/xutf8/utf8Utils.c2
-rw-r--r--src/xutf8/utf8Wrap.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/xutf8/utf8Utils.c b/src/xutf8/utf8Utils.c
index 41343f459..9be6f8607 100644
--- a/src/xutf8/utf8Utils.c
+++ b/src/xutf8/utf8Utils.c
@@ -14,6 +14,8 @@
* http://www.fltk.org/str.php
*/
+#include <config.h>
+
#if defined(WIN32) || defined(__APPLE__) /* PORTME: Fl_Screen_Driver - platform unicode */
#elif defined(FL_PORTING)
# pragma message "FL_PORTING: utf8"
diff --git a/src/xutf8/utf8Wrap.c b/src/xutf8/utf8Wrap.c
index 27e048cfe..d7321b289 100644
--- a/src/xutf8/utf8Wrap.c
+++ b/src/xutf8/utf8Wrap.c
@@ -14,6 +14,8 @@
* http://www.fltk.org/str.php
*/
+#include <config.h>
+
#if defined(WIN32) || defined(__APPLE__) /* PORTME: Fl_Screen_Driver - platform unicode */
#elif defined(FL_PORTING)
# pragma message "FL_PORTING: utf8"