gaim/gaim

c759cdc87604
Parents b57934122398
Children a307566d0414
put back wgaim_remove so we don't break plugins compiled against 1.x.x
--- a/src/win32/libc_interface.c Fri Feb 11 20:26:25 2005 -0500
+++ b/src/win32/libc_interface.c Sat Feb 12 00:33:14 2005 -0500
@@ -35,9 +35,6 @@
#include "debug.h"
#include "libc_internal.h"
-#if !GLIB_CHECK_VERSION(2,6,0)
-# define g_remove remove
-#endif
/*
* PROTOS
*/
@@ -312,7 +309,6 @@
/* stdio.h */
-#if !GLIB_CHECK_VERSION(2,6,0)
int wgaim_rename (const char *oldname, const char *newname) {
struct _stat oldstat, newstat;
@@ -343,7 +339,7 @@
}
/* newname is not a dir */
else {
- g_remove(newname);
+ remove(newname);
return rename(oldname, newname);
}
}
@@ -359,7 +355,6 @@
}
}
-#endif
/* time.h */
--- a/src/win32/libc_interface.h Fri Feb 11 20:26:25 2005 -0500
+++ b/src/win32/libc_interface.h Sat Feb 12 00:33:14 2005 -0500
@@ -125,12 +125,9 @@
#define snprintf _snprintf
#define vsnprintf _vsnprintf
-#if !GLIB_CHECK_VERSION(2,6,0)
-/* I think that this can probably go away, in favor of g_rename() */
extern int wgaim_rename(const char *oldname, const char *newname);
#define rename( oldname, newname ) \
wgaim_rename( oldname, newname )
-#endif
/* sys/stat.h */