summaryrefslogtreecommitdiff
path: root/src/glut_font.cxx
diff options
context:
space:
mode:
authorGreg Ercolano <erco@seriss.com>2009-03-15 03:14:43 +0000
committerGreg Ercolano <erco@seriss.com>2009-03-15 03:14:43 +0000
commita68ea3c06961b6dbc5ad671c50f6a2e01624a689 (patch)
treee3d3960e9c5c3795780e88b24c582e5d88c870ee /src/glut_font.cxx
parent3ed30905a958548b91b3edfe43ad5b3333d773eb (diff)
Surrounded all #warning's with #if defined(__GNUC__)
to prevent compiling problems on non-gnu compilers. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6687 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/glut_font.cxx')
-rw-r--r--src/glut_font.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/glut_font.cxx b/src/glut_font.cxx
index a1c3c3a36..474689f33 100644
--- a/src/glut_font.cxx
+++ b/src/glut_font.cxx
@@ -114,9 +114,10 @@ void glutStrokeString(void* fontID, const unsigned char *string) {
* A newline will simply translate the next character's insertion
* point back to the start of the line and down one line.
*/
-#if !defined(WIN32) && !defined(sgi) || defined(CYGWIN)
+
+#if defined(__GNUC__)
#warning FIXME This needs to be UTF aware now
-#endif
+#endif /*__GNUC__*/
while ((c = *string++) != 0) {
if (c < font->Quantity) {