mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01: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;
|
||||
|
||||
/* Used for a private test API */
|
||||
#ifdef G_OS_UNIX
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GList *g_resolver_records_from_res_query (const gchar *rrname,
|
||||
gint rrtype,
|
||||
@ -52,6 +53,7 @@ GList *g_resolver_records_from_res_query (const gchar *rrname,
|
||||
GError **error);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
gint g_resolver_record_type_to_rrtype (GResolverRecordType type);
|
||||
#endif
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user