pidgin: 6106a0d6: The T_SRV and T_TXT defines are needed o...

datallah at pidgin.im datallah at pidgin.im
Mon Apr 18 20:25:48 EDT 2011


----------------------------------------------------------------------
Revision: 6106a0d6c961b176044f0fc7e8e1c8f93476c4d3
Parent:   13eb34d9635427b4ad50a26d68cefe600903e4da
Author:   datallah at pidgin.im
Date:     04/18/11 20:21:32
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/6106a0d6c961b176044f0fc7e8e1c8f93476c4d3

Changelog: 

The T_SRV and T_TXT defines are needed on WIN32 too.

Changes against parent 13eb34d9635427b4ad50a26d68cefe600903e4da

  patched  libpurple/dnssrv.c

-------------- next part --------------
============================================================
--- libpurple/dnssrv.c	45532dccc18769b8a1543f8a7bbbf47a30a8fc54
+++ libpurple/dnssrv.c	a4e795801cf99bd5bed043d77348c64eee9a5a0f
@@ -30,12 +30,6 @@
 #ifdef HAVE_ARPA_NAMESER_COMPAT_H
 #include <arpa/nameser_compat.h>
 #endif
-#ifndef T_SRV
-#define T_SRV	PurpleDnsTypeSrv
-#endif
-#ifndef T_TXT
-#define T_TXT	PurpleDnsTypeTxt
-#endif
 #else /* WIN32 */
 #include <windns.h>
 /* Missing from the mingw headers */
@@ -47,6 +41,13 @@
 #endif
 #endif
 
+#ifndef T_SRV
+#define T_SRV	PurpleDnsTypeSrv
+#endif
+#ifndef T_TXT
+#define T_TXT	PurpleDnsTypeTxt
+#endif
+
 #include "debug.h"
 #include "dnssrv.h"
 #include "eventloop.h"
@@ -1042,4 +1043,4 @@ purple_srv_txt_query_get_type(PurpleSrvT
 	g_return_val_if_fail(query_data != NULL, 0);
 	
 	return query_data->type;
-}
\ No newline at end of file
+}


More information about the Commits mailing list