From c6ca3dab4a071afab5d1efe8c82ed7972062fde0 Mon Sep 17 00:00:00 2001 From: Pierre Muller Date: Thu, 7 Apr 2011 22:24:17 +0000 Subject: 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. --- gdb/remote-fileio.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'gdb/remote-fileio.c') 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 #include #ifdef __CYGWIN__ -#include /* For cygwin_conv_to_full_posix_path. */ -#include -#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 /* For cygwin_conv_path. */ #endif #include -- cgit v1.2.1