diff options
Diffstat (limited to 'xkb/ddxLoad.c')
-rw-r--r-- | xkb/ddxLoad.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xkb/ddxLoad.c b/xkb/ddxLoad.c index 10f39eabe..832f6b8d0 100644 --- a/xkb/ddxLoad.c +++ b/xkb/ddxLoad.c @@ -71,7 +71,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. #define POST_ERROR_MSG1 "\"Errors from xkbcomp are not fatal to the X server\"" #define POST_ERROR_MSG2 "\"End of messages from xkbcomp\"" -#ifdef __UNIXOS2__ +#if defined(__UNIXOS2__) || defined(WIN32) #define PATHSEPARATOR "\\" #else #define PATHSEPARATOR "/" @@ -80,7 +80,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. #ifdef WIN32 #include <Xwindows.h> -static const char* +const char* Win32TempDir() { static char buffer[PATH_MAX]; @@ -102,7 +102,7 @@ Win32TempDir() return "/tmp"; } -static int +int Win32System(const char *cmdline) { STARTUPINFO si; |