Created
November 20, 2012 01:22
-
-
Save 2bits/4115342 to your computer and use it in GitHub Desktop.
glib-2.34.2 patch fixes build errors on OSX in gio/gsocket.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/gio/gsocket.c 2012-11-09 19:27:29.000000000 -0800 | |
+++ b/gio/gsocket.c 2012-11-19 17:20:18.000000000 -0800 | |
@@ -2383,6 +2383,9 @@ | |
{ | |
#ifndef G_OS_WIN32 | |
gulong avail = 0; | |
+#ifdef __APPLE__ | |
+ gsize avail_len = sizeof (avail); | |
+#endif | |
#else | |
gint avail = 0; | |
gsize avail_len = sizeof (avail); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment