changeset 16919:8bf1d19a93ea

merge of '6410c883762e90fc54d85e2ca466d863b2951796' and 'cb04dc04f4ee6fdde0ec5b7a79342b8464b038ef'
author Richard Laager <rlaager@wiktel.com>
date Sat, 05 May 2007 23:56:21 +0000
parents 342107309cf3 (current diff) ce2422ae793c (diff)
children 09f0bb67a87f
files libpurple/util.c
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/util.c	Sat May 05 23:26:10 2007 +0000
+++ b/libpurple/util.c	Sat May 05 23:56:21 2007 +0000
@@ -2529,11 +2529,7 @@
 
 	if((tmpdir = (gchar*)g_get_tmp_dir()) != NULL) {
 		if((*fpath = g_strdup_printf("%s" G_DIR_SEPARATOR_S "%s", tmpdir, purple_mkstemp_templ)) != NULL) {
-#ifdef _WIN32
 			fd = g_mkstemp(*fpath);
-#else
-			fd = mkstemp(*fpath);
-#endif
 			if(fd == -1) {
 				purple_debug(PURPLE_DEBUG_ERROR, "purple_mkstemp",
 						   "Couldn't make \"%s\", error: %d\n",