? .DS_Store Index: source/codemaker/global.cxx =================================================================== RCS file: /cvs/udk/codemaker/source/codemaker/global.cxx,v retrieving revision 1.13.8.2 diff -u -r1.13.8.2 global.cxx --- source/codemaker/global.cxx 4 Apr 2003 00:15:01 -0000 1.13.8.2 +++ source/codemaker/global.cxx 4 Apr 2003 02:54:58 -0000 @@ -93,6 +93,10 @@ #include #endif +#ifdef MACOSX +#include +#endif + #ifdef SAL_UNX #define SEPARATOR '/' #else @@ -149,7 +153,11 @@ strcat(tmpPattern, "\\"); strcat(tmpPattern, pPrefix); strcat(tmpPattern, "XXXXXX"); +#ifdef MACOSX + pTmpName = macxp_tempnam( NULL, pPrefix ); +#else pTmpName = mktemp(tmpPattern); +#endif #endif return OString(pTmpName);