diff libgaim/internal.h @ 15100:59189ce09f10

[gaim-migrate @ 17885] Fix wingaim file receiving. It turns out that _access() on win32 is really horrible and will fail on directories when checking any other mode than F_OK. committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Mon, 04 Dec 2006 01:52:05 +0000
parents 390519f29a11
children e354528c4163
line wrap: on
line diff
--- a/libgaim/internal.h	Sun Dec 03 21:49:17 2006 +0000
+++ b/libgaim/internal.h	Mon Dec 04 01:52:05 2006 +0000
@@ -142,7 +142,7 @@
 #	define g_open open
 #endif
 
-#if !GLIB_CHECK_VERSION(2,8,0)
+#if !GLIB_CHECK_VERSION(2,8,0) && !defined _WIN32
 #	define g_access access
 #endif