summaryrefslogtreecommitdiff
path: root/gdb/remote-fileio.c
diff options
context:
space:
mode:
authorPierre Muller <muller@ics.u-strasbg.fr>2011-04-07 22:24:16 +0000
committerPierre Muller <muller@ics.u-strasbg.fr>2011-04-07 22:24:16 +0000
commitea5be49606051020d0c118f4b2dd1ea040332b79 (patch)
treeb88471a7232310e8ad860d04a6764cd5216b16fd /gdb/remote-fileio.c
parent9ec5746d35de931db7bd630ad5d7097dbaab70bf (diff)
downloadgdb-ea5be49606051020d0c118f4b2dd1ea040332b79.tar.gz
Remove support for old Cygwin 1.5 versions.
* remote-fileio.c: Remove macros used to emulate new cygwin_conv_path function on old Cygwin version. * windows-nat.c: Remove cygwin version check and always define __USEWIDE for Cygwin compilation.
Diffstat (limited to 'gdb/remote-fileio.c')
-rw-r--r--gdb/remote-fileio.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/gdb/remote-fileio.c b/gdb/remote-fileio.c
index 68298e78628..d840c56bd61 100644
--- a/gdb/remote-fileio.c
+++ b/gdb/remote-fileio.c
@@ -36,16 +36,7 @@
#include <fcntl.h>
#include <sys/time.h>
#ifdef __CYGWIN__
-#include <sys/cygwin.h> /* For cygwin_conv_to_full_posix_path. */
-#include <cygwin/version.h>
-#if CYGWIN_VERSION_DLL_MAKE_COMBINED(CYGWIN_VERSION_API_MAJOR,CYGWIN_VERSION_API_MINOR) < 181
-# define CCP_POSIX_TO_WIN_A 0
-# define CCP_WIN_A_TO_POSIX 2
-# define cygwin_conv_path(op, from, to, size) \
- (op == CCP_WIN_A_TO_POSIX) ? \
- cygwin_conv_to_full_posix_path (from, to) : \
- cygwin_conv_to_win32_path (from, to)
-#endif
+#include <sys/cygwin.h> /* For cygwin_conv_path. */
#endif
#include <signal.h>