summaryrefslogtreecommitdiff
path: root/gcc/config/i386/xm-cygwin.h
diff options
context:
space:
mode:
authorcgf <cgf@138bc75d-0d04-0410-961f-82ee72b054a4>2001-04-09 14:20:13 +0000
committercgf <cgf@138bc75d-0d04-0410-961f-82ee72b054a4>2001-04-09 14:20:13 +0000
commitc7b34692cd6570571fa8ff91adcc22b0177b9d55 (patch)
treeae20deb710f2f21f77ae55f771824f14c30739b5 /gcc/config/i386/xm-cygwin.h
parent922afbf30f986173de69721842c2304a117d02d5 (diff)
downloadgcc-c7b34692cd6570571fa8ff91adcc22b0177b9d55.tar.gz
(oops. only checked in ChangeLog previously)
* config/i386/xm-cygwin.h (GET_ENV_PATH_LIST): Eliminate obsolete function. Remove include of sys/cygwin.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41205 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386/xm-cygwin.h')
-rw-r--r--gcc/config/i386/xm-cygwin.h26
1 files changed, 2 insertions, 24 deletions
diff --git a/gcc/config/i386/xm-cygwin.h b/gcc/config/i386/xm-cygwin.h
index 7c9c1a097ca..b4f9fed7989 100644
--- a/gcc/config/i386/xm-cygwin.h
+++ b/gcc/config/i386/xm-cygwin.h
@@ -1,6 +1,6 @@
/* Configuration for GNU C-compiler for hosting on Windows NT.
using a unix style C library.
- Copyright (C) 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -19,8 +19,6 @@ along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#include <sys/cygwin.h>
-
#define EXECUTABLE_SUFFIX ".exe"
/* Even though Cygwin tries to hide the DOS based filesystem, it
@@ -33,25 +31,5 @@ Boston, MA 02111-1307, USA. */
backslashes as escape characters. Many Win32 programs use forward
slashes so using a forward slash shouldn't be problematic from the
perspective of wanting gcc to produce native Win32 paths. */
-#define DIR_SEPARATOR '/'
+#undef DIR_SEPARATOR_2
#define DIR_SEPARATOR_2 '\\'
-
-/* Convert win32 style path lists to POSIX style for consistency. */
-#undef GET_ENV_PATH_LIST
-#define GET_ENV_PATH_LIST(VAR,NAME) \
-do { \
- char *_epath; \
- char *_posixepath; \
- _epath = _posixepath = getenv (NAME); \
- /* if we have a posix path list, convert to posix path list */ \
- if (_epath != NULL && *_epath != 0 \
- && ! cygwin_posix_path_list_p (_epath)) \
- { \
- _posixepath = (char *) xmalloc \
- (cygwin_win32_to_posix_path_list_buf_size (_epath)); \
- cygwin_win32_to_posix_path_list (_epath, _posixepath); \
- } \
- (VAR) = _posixepath; \
-} while (0)
-
-#define PATH_SEPARATOR ':'