summaryrefslogtreecommitdiff
path: root/test
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 /test
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 'test')
-rw-r--r--test/demo.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/demo.cxx b/test/demo.cxx
index 1e9382235..ee75b2424 100644
--- a/test/demo.cxx
+++ b/test/demo.cxx
@@ -3,7 +3,7 @@
//
// Main demo program 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
@@ -30,7 +30,7 @@
#include <stdlib.h>
#if defined(WIN32) && !defined(__CYGWIN__)
# include <direct.h>
-# if !defined(__WATCOMC__)
+# ifndef __WATCOMC__
// Visual C++ 2005 incorrectly displays a warning about the use of POSIX APIs
// on Windows, which is supposed to be POSIX compliant...
# define chdir _chdir