Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-09-11 06:00:42 +0400
committerChristopher Faylor <me@cgf.cx>2003-09-11 06:00:42 +0400
commitb07b167eec8af05999373a511f9e8fad48285caf (patch)
tree59f3c3fb56bd7ebcbd6d33ab0d1261a457e38263 /winsup/utils/path.cc
parent704d8c321eafc33c1a8145c9c6bcb44d8827520a (diff)
* Makefile.in (MINGW_CXX): Define and use for mingw-compiled files.
* path.cc: Include more path info in cygwin-specific includes since the cygwin directory is no longer included by default.
Diffstat (limited to 'winsup/utils/path.cc')
-rw-r--r--winsup/utils/path.cc8
1 files changed, 5 insertions, 3 deletions
diff --git a/winsup/utils/path.cc b/winsup/utils/path.cc
index e985384ce..2c475fde3 100644
--- a/winsup/utils/path.cc
+++ b/winsup/utils/path.cc
@@ -12,12 +12,14 @@ details. */
Cygwin's mount table. If the format or location of the mount table
changes, this is the file to change to match it. */
+#define str(a) #a
+#define scat(a,b) str(a##b)
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
-#include <cygwin/version.h>
-#include <sys/mount.h>
-#include <mntent.h>
+#include "cygwin/include/cygwin/version.h"
+#include "cygwin/include/sys/mount.h"
+#include "cygwin/include/mntent.h"
/* Used when treating / and \ as equivalent. */
#define SLASH_P(ch) \