summaryrefslogtreecommitdiff
path: root/libpurple/win32
diff options
context:
space:
mode:
authorElliott Sales de Andrade <qulogic@pidgin.im>2019-10-30 22:19:59 -0400
committerElliott Sales de Andrade <qulogic@pidgin.im>2019-10-30 22:19:59 -0400
commit55842358688be761ad5e72c42c0ddc0b7f89ebcf (patch)
treed343aa365d4783ffa98886c5af746f432f235e38 /libpurple/win32
parent7346f48ff47abc3efdae90f82059b35bdca61be0 (diff)
downloadpidgin-55842358688be761ad5e72c42c0ddc0b7f89ebcf.tar.gz
Use g_rename directly instead of rename.
This removes the need for extra compatibility macros, and thus hacks to _undo_ the macro too.
Diffstat (limited to 'libpurple/win32')
-rw-r--r--libpurple/win32/libc_interface.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/libpurple/win32/libc_interface.h b/libpurple/win32/libc_interface.h
index 8573a659ee..32001a2f42 100644
--- a/libpurple/win32/libc_interface.h
+++ b/libpurple/win32/libc_interface.h
@@ -142,9 +142,6 @@ wpurple_gettimeofday( timeval, timezone )
# define vsnprintf _vsnprintf
#endif
-#define rename( oldname, newname ) \
-g_rename( oldname, newname )
-
/* time.h */
/* XXX: it may be also defined by pthread.h */
#undef localtime_r