diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2006-05-05 14:36:58 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2006-05-05 14:36:58 +0000 |
| commit | 22b14999047bf48c2877ac085dc6f97c05d20918 (patch) | |
| tree | a2d68e76d0e58dff731fb1b40867fc6778bc2136 /src/fl_encoding_latin1.cxx | |
| parent | 48c8932fd57707ac26e46eb48450584fac14bf98 (diff) | |
STR #1152: Fixed Cygwin compiler warnings
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5085 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/fl_encoding_latin1.cxx')
| -rw-r--r-- | src/fl_encoding_latin1.cxx | 4 |
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); |
