From e321cb37bfe0379f54010eb42a36573ca561e71f Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Sun, 27 Nov 2005 14:45:48 +0000 Subject: VC++ 2005 Support, drop old files, add icons for Sudoku git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4660 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- fluid/.cvsignore | 4 ---- fluid/fluid.cxx | 5 +++++ fluid/undo.cxx | 3 +++ 3 files changed, 8 insertions(+), 4 deletions(-) delete mode 100644 fluid/.cvsignore (limited to 'fluid') diff --git a/fluid/.cvsignore b/fluid/.cvsignore deleted file mode 100644 index 8a5cb24c0..000000000 --- a/fluid/.cvsignore +++ /dev/null @@ -1,4 +0,0 @@ -fluid -fluid-shared -*.bck -*.exe diff --git a/fluid/fluid.cxx b/fluid/fluid.cxx index 677e80dad..49e287f5a 100644 --- a/fluid/fluid.cxx +++ b/fluid/fluid.cxx @@ -59,6 +59,11 @@ # include # include # include +// 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 +# define chdir _chdir +# define getcwd _getcwd #else # include #endif diff --git a/fluid/undo.cxx b/fluid/undo.cxx index 77a2f2f31..e23b6ca16 100644 --- a/fluid/undo.cxx +++ b/fluid/undo.cxx @@ -34,6 +34,9 @@ # include # include # define getpid (int)GetCurrentProcessId +// 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 #else # include #endif // WIN32 && !__CYGWIN__ -- cgit v1.2.3