summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2013-03-30 19:40:31 +0000
committerJon TURNEY <jon.turney@dronecode.org.uk>2013-04-08 01:57:37 +0100
commitf3787192feea5a609805107f99820bcb1adab706 (patch)
treed58f4bf0467246f060d5ea23c007e2597d744084
parent1f5d34b81ca1fa6d1dd66e363d3bd1716a3f50e2 (diff)
deprecated interface cygwin_conv_to_win32_path() doesn't exist on cygwin64
-rw-r--r--hw/xwin/windialogs.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/hw/xwin/windialogs.c b/hw/xwin/windialogs.c
index 122a93426..a7965aa2e 100644
--- a/hw/xwin/windialogs.c
+++ b/hw/xwin/windialogs.c
@@ -33,9 +33,6 @@
#include <xwin-config.h>
#endif
#include "win.h"
-#ifdef __CYGWIN__
-#include <sys/cygwin.h>
-#endif
#include <shellapi.h>
#include "winprefs.h"
@@ -629,17 +626,8 @@ winAboutDlgProc(HWND hwndDialog, UINT message, WPARAM wParam, LPARAM lParam)
{
INT_PTR iReturn;
-#ifdef __CYGWIN__
- const char *pszCygPath = "/usr/X11R6/share/doc/"
- "xorg-x11-xwin/changelog.html";
- char pszWinPath[MAX_PATH + 1];
-
- /* Convert the POSIX path to a Win32 path */
- cygwin_conv_to_win32_path(pszCygPath, pszWinPath);
-#else
const char *pszWinPath = "http://x.cygwin.com/"
"devel/server/changelog.html";
-#endif
iReturn = (INT_PTR) ShellExecute(NULL,
"open",