diff options
author | Daniel Stone <daniel@fooishbar.org> | 2006-08-18 17:05:41 +0300 |
---|---|---|
committer | Daniel Stone <daniels@endtroducing.fooishbar.org> | 2006-08-18 17:05:41 +0300 |
commit | 19f673b7788d32c220e7e06734f1074b0e4a999c (patch) | |
tree | 8bdd191478684b447aa2817df2c76ba010e47906 /os | |
parent | cb0a565d2b2cf8823abbd77b4426cc2237731dc1 (diff) | |
parent | 70ddd0f39d5118db72a1a4e473cbfb502f1ed9ec (diff) |
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver
Diffstat (limited to 'os')
-rw-r--r-- | os/access.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/os/access.c b/os/access.c index 81f5b7403..69e305182 100644 --- a/os/access.c +++ b/os/access.c @@ -1188,7 +1188,11 @@ ResetHosts (char *display) FreeHost (host); } +#if defined WIN32 && defined __MINGW32__ +#define ETC_HOST_PREFIX "X" +#else #define ETC_HOST_PREFIX "/etc/X" +#endif #define ETC_HOST_SUFFIX ".hosts" fnamelen = strlen(ETC_HOST_PREFIX) + strlen(ETC_HOST_SUFFIX) + strlen(display) + 1; |