summaryrefslogtreecommitdiff
path: root/src/fl_encoding_latin1.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/fl_encoding_latin1.cxx')
-rw-r--r--src/fl_encoding_latin1.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fl_encoding_latin1.cxx b/src/fl_encoding_latin1.cxx
index d3c2c7f05..5191b69d4 100644
--- a/src/fl_encoding_latin1.cxx
+++ b/src/fl_encoding_latin1.cxx
@@ -30,6 +30,8 @@
#include <stdlib.h>
#include "flstring.h"
+#ifdef __APPLE__
+
// These function assume a western code page. If you need to support
// scripts that are not part of this code page, you might want to
// take a look at FLTK2, which uses utf8 for text encoding.
@@ -74,8 +76,6 @@ static uchar roman2latin[256] = {
static char *buf = 0;
static int n_buf = 0;
-#ifdef __APPLE__
-
const char *fl_latin1_to_local(const char *t, int n)
{
if (n==-1) n = strlen(t);