mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-31 21:03:10 +02:00
gthreadedresolver: Only declare private test APIs on Unix
They’re only defined on Unix anyway. `GThreadedResolver` has an entirely different code path for handling DNS replies on Windows. Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
parent
e8e8aebcbe
commit
f9ef3bec68
@ -43,6 +43,7 @@ GLIB_AVAILABLE_IN_ALL
|
|||||||
GType g_threaded_resolver_get_type (void) G_GNUC_CONST;
|
GType g_threaded_resolver_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
/* Used for a private test API */
|
/* Used for a private test API */
|
||||||
|
#ifdef G_OS_UNIX
|
||||||
GLIB_AVAILABLE_IN_ALL
|
GLIB_AVAILABLE_IN_ALL
|
||||||
GList *g_resolver_records_from_res_query (const gchar *rrname,
|
GList *g_resolver_records_from_res_query (const gchar *rrname,
|
||||||
gint rrtype,
|
gint rrtype,
|
||||||
@ -52,6 +53,7 @@ GList *g_resolver_records_from_res_query (const gchar *rrname,
|
|||||||
GError **error);
|
GError **error);
|
||||||
GLIB_AVAILABLE_IN_ALL
|
GLIB_AVAILABLE_IN_ALL
|
||||||
gint g_resolver_record_type_to_rrtype (GResolverRecordType type);
|
gint g_resolver_record_type_to_rrtype (GResolverRecordType type);
|
||||||
|
#endif
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user