diff options
author | Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de> | 2005-01-09 17:35:47 +0000 |
---|---|---|
committer | Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de> | 2005-01-09 17:35:47 +0000 |
commit | fe4e74241f6791cb1cefdddeb492ed0f56ce99b4 (patch) | |
tree | f9ad648459ad11c54cfa5fa9976552734a29b2e8 /xkb/ddxLoad.c | |
parent | ba25f7e8dcaa2690ce3eab839904fac034002e0b (diff) |
xc/programs/Xserver/xkb/ddxList.c
//bugs.freedesktop.org/show_bug.cgi?id=2245) attachment #1647
(https://bugs.freedesktop.org/attachment.cgi?id=1647): export
Win32System and Win32TempDir remove #ifdef WIN32 block for building
xkbcomp commandline create win32 tempfile in system tempdir use
PATH_MAX*4 for commandline buffer unlink tmpfile again
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; |