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
This commit is contained in:
parent
101c2433ff
commit
00c66abc0e
@ -3,7 +3,7 @@
|
||||
//
|
||||
// FLUID main entry 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
|
||||
@ -59,7 +59,7 @@
|
||||
# include <io.h>
|
||||
# include <commdlg.h>
|
||||
# include <FL/x.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 access _access
|
||||
|
@ -3,7 +3,7 @@
|
||||
//
|
||||
// FLUID undo support 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
|
||||
@ -34,7 +34,7 @@
|
||||
# include <io.h>
|
||||
# include <windows.h>
|
||||
# define getpid (int)GetCurrentProcessId
|
||||
# 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 unlink _unlink
|
||||
|
@ -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__
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user