diff options
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/texk/dvipdfmx/src/dpxfile.c | 4 | ||||
-rw-r--r-- | Build/source/texk/xdvipdfmx/src/dpxfile.c | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/Build/source/texk/dvipdfmx/src/dpxfile.c b/Build/source/texk/dvipdfmx/src/dpxfile.c index 0ce27b6ce02..7444632803a 100644 --- a/Build/source/texk/dvipdfmx/src/dpxfile.c +++ b/Build/source/texk/dvipdfmx/src/dpxfile.c @@ -756,7 +756,7 @@ dpx_get_tmpdir (void) # include <stdlib.h> #endif -#if 0 /* Not used */ +#ifdef XETEX char * dpx_create_temp_file (void) { @@ -812,7 +812,7 @@ dpx_create_temp_file (void) return tmp; } -#endif /* 0 */ +#endif /* XETEX */ char * dpx_create_fix_temp_file (const char *filename) diff --git a/Build/source/texk/xdvipdfmx/src/dpxfile.c b/Build/source/texk/xdvipdfmx/src/dpxfile.c index d51b978ce27..80998652a11 100644 --- a/Build/source/texk/xdvipdfmx/src/dpxfile.c +++ b/Build/source/texk/xdvipdfmx/src/dpxfile.c @@ -813,7 +813,6 @@ dpx_create_temp_file (void) #else /* use _tempnam or tmpnam */ { # ifdef WIN32 -# define __TMPDIR "." const char *_tmpd; char *p; _tmpd = dpx_get_tmpdir(); |