summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2007-02-20 18:43:10 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2007-02-20 18:43:10 +0000
commit00c66abc0e3bf9b5dbe64b8a05ba19eaea0f8357 (patch)
treecf4d815d10e4723d3107d3223c09290d056f7aa9 /src
parent101c2433ffb7e5a9ee69e7403786617d8fbb8baf (diff)
Update copyright years and use "#ifndef" instead of "#if !defined".
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5701 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/flstring.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/flstring.h b/src/flstring.h
index da114b2c6..58ec66d72 100644
--- a/src/flstring.h
+++ b/src/flstring.h
@@ -3,7 +3,7 @@
*
* Common string header file for the Fast Light Tool Kit (FLTK).
*
- * Copyright 1998-2005 by Bill Spitzak and others.
+ * Copyright 1998-2007 by Bill Spitzak and others.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
@@ -52,9 +52,9 @@
# define strcasecmp(s,t) _stricmp((s), (t))
# define strncasecmp(s,t,n) _strnicmp((s), (t), (n))
// Visual C++ 2005 incorrectly displays a warning about the use of POSIX APIs
-// on Windows, which is supposed to be POSIX compliant... Some of these functions
-// are also defined in ISO C99...
-# if !defined(__WATCOMC__)
+// on Windows, which is supposed to be POSIX compliant... Some of these
+// functions are also defined in ISO C99...
+# ifndef __WATCOMC__
# define strdup _strdup
# define unlink _unlink
# endif // !__WATCOMC__