From fbc83e52b0438f4e3b5fbdddb7686c4f80dcb8c1 Mon Sep 17 00:00:00 2001 From: rlar Date: Sat, 2 Jul 2011 15:30:07 +0000 Subject: [PATCH] main.c, collapse #ifdef --- src/main.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main.c b/src/main.c index 2e3bf51a1..358111830 100644 --- a/src/main.c +++ b/src/main.c @@ -1151,10 +1151,8 @@ bot: #if defined(HAS_WINDOWS) || defined(_MSC_VER) || defined(__MINGW32__) char *tpf = NULL; /* temporary file */ char *dname = NULL; /* input file*/ -#endif /* tmpfile() returns NULL, if in MS Windows as non admin user then we add a tempfile in the local directory */ -#if defined(HAS_WINDOWS) || defined(_MSC_VER) || defined(__MINGW32__) if (tempfile == NULL) { tpf = smktemp("sp"); tempfile = fopen(tpf, "w+b");