From: Colin Harrison <[email protected]> This is a follow-up to commit 0659437f5ec0e3f646373394f5f9c5461e2170f3.
Signed-off-by: Colin Harrison <[email protected]> Reviewed-by: Jon TURNEY <[email protected]> --- hw/xwin/winprefs.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/hw/xwin/winprefs.c b/hw/xwin/winprefs.c index faa97c3..7722c82 100644 --- a/hw/xwin/winprefs.c +++ b/hw/xwin/winprefs.c @@ -648,6 +648,7 @@ winPrefsLoadPreferences(char *path) if (path) prefFile = fopen(path, "r"); +#ifdef __CYGWIN__ else { char defaultPrefs[] = "MENU rmenu {\n" @@ -659,6 +660,7 @@ winPrefsLoadPreferences(char *path) path = "built-in default"; prefFile = fmemopen(defaultPrefs, strlen(defaultPrefs), "r"); } +#endif if (!prefFile) { ErrorF("LoadPreferences: %s not found\n", path); -- 1.7.9 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
