diff options
author | marha <marha@users.sourceforge.net> | 2012-01-28 15:51:06 +0100 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2012-01-28 15:51:06 +0100 |
commit | eec00dde378e1f1ec72c886e809f693e103e77c8 (patch) | |
tree | 6ab0a5258f13114acaf6b7b2ca8f49e19a8acb13 | |
parent | 59bda88ffb9deb72a727e7d6b4c141fd7d4678f4 (diff) | |
download | vcxsrv-eec00dde378e1f1ec72c886e809f693e103e77c8.tar.gz vcxsrv-eec00dde378e1f1ec72c886e809f693e103e77c8.tar.bz2 vcxsrv-eec00dde378e1f1ec72c886e809f693e103e77c8.zip |
fmemopen is not supported in MSVC
-rw-r--r-- | xorg-server/hw/xwin/winprefs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xorg-server/hw/xwin/winprefs.c b/xorg-server/hw/xwin/winprefs.c index b003f455d..8c738e515 100644 --- a/xorg-server/hw/xwin/winprefs.c +++ b/xorg-server/hw/xwin/winprefs.c @@ -722,6 +722,7 @@ winPrefsLoadPreferences (char *path) if (path) prefFile = fopen (path, "r"); +#ifndef _MSC_VER else { char defaultPrefs[] = @@ -737,6 +738,7 @@ winPrefsLoadPreferences (char *path) path = "built-in default"; prefFile = fmemopen(defaultPrefs, strlen(defaultPrefs), "r"); } +#endif if (!prefFile) { |