summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Help_View.cxx5
-rw-r--r--src/filename_absolute.cxx6
2 files changed, 1 insertions, 10 deletions
diff --git a/src/Fl_Help_View.cxx b/src/Fl_Help_View.cxx
index 312d5cbc5..c0780deba 100644
--- a/src/Fl_Help_View.cxx
+++ b/src/Fl_Help_View.cxx
@@ -71,9 +71,6 @@
#if defined(WIN32) && ! defined(__CYGWIN__)
# include <io.h>
# include <direct.h>
-// Visual C++ 2005 incorrectly displays a warning about the use of POSIX APIs
-// on Windows, which is supposed to be POSIX compliant...
-# define getcwd _getcwd
#else
# include <unistd.h>
#endif // WIN32
@@ -361,7 +358,7 @@ void Fl_Help_View::add_link(const char *n, // I - Name of link
/** Adds a new target to the list. */
void Fl_Help_View::add_target(const char *n, // I - Name of target
- int yy) // I - Y position of target
+ int yy) // I - Y position of target
{
Fl_Help_Target *temp; // New target
diff --git a/src/filename_absolute.cxx b/src/filename_absolute.cxx
index 2a7789e70..d8c293860 100644
--- a/src/filename_absolute.cxx
+++ b/src/filename_absolute.cxx
@@ -38,14 +38,8 @@
#include <ctype.h>
#if defined(WIN32) && !defined(__CYGWIN__)
# include <direct.h>
-// Visual C++ 2005 incorrectly displays a warning about the use of POSIX APIs
-// on Windows, which is supposed to be POSIX compliant...
-# define getcwd _getcwd
#else
# include <unistd.h>
-# ifdef __EMX__
-# define getcwd _getcwd2
-# endif
#endif
#if defined(WIN32) || defined(__EMX__) && !defined(__CYGWIN__)