View | Details | Raw Unified | Return to issue 13020
Collapse All | Expand All

(-)source/codemaker/global.cxx (+8 lines)
Lines 93-98 Link Here
93
#include	<codemaker/global.hxx>
93
#include	<codemaker/global.hxx>
94
#endif
94
#endif
95
95
96
#ifdef MACOSX
97
#include <unxmacxp_protos.h>
98
#endif
99
96
#ifdef SAL_UNX
100
#ifdef SAL_UNX
97
#define SEPARATOR '/'
101
#define SEPARATOR '/'
98
#else
102
#else
Lines 149-155 Link Here
149
	strcat(tmpPattern, "\\");
153
	strcat(tmpPattern, "\\");
150
	strcat(tmpPattern, pPrefix);
154
	strcat(tmpPattern, pPrefix);
151
	strcat(tmpPattern, "XXXXXX");
155
	strcat(tmpPattern, "XXXXXX");
156
#ifdef MACOSX
157
	pTmpName = macxp_tempnam( NULL, pPrefix );
158
#else
152
	pTmpName = mktemp(tmpPattern);
159
	pTmpName = mktemp(tmpPattern);
160
#endif
153
#endif
161
#endif
154
162
155
	return OString(pTmpName);
163
	return OString(pTmpName);

Return to issue 13020