mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-25 21:46:14 +01:00
Merge branch 'migrate-to-gi-docgen13' into 'main'
gwin32: Un-hide symbols when building GIR See merge request GNOME/glib!3723
This commit is contained in:
commit
f8122da6c9
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
#include <glib/gtypes.h>
|
#include <glib/gtypes.h>
|
||||||
|
|
||||||
#ifdef G_PLATFORM_WIN32
|
#if defined(G_PLATFORM_WIN32) || defined(__GI_SCANNER__)
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
@ -41,7 +41,7 @@ G_BEGIN_DECLS
|
|||||||
#define MAXPATHLEN 1024
|
#define MAXPATHLEN 1024
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef G_OS_WIN32
|
#if defined(G_OS_WIN32) || defined(__GI_SCANNER__)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* To get prototypes for the following POSIXish functions, you have to
|
* To get prototypes for the following POSIXish functions, you have to
|
||||||
@ -68,7 +68,7 @@ G_BEGIN_DECLS
|
|||||||
GLIB_AVAILABLE_IN_ALL
|
GLIB_AVAILABLE_IN_ALL
|
||||||
gint g_win32_ftruncate (gint f,
|
gint g_win32_ftruncate (gint f,
|
||||||
guint size);
|
guint size);
|
||||||
#endif /* G_OS_WIN32 */
|
#endif /* G_OS_WIN32 || __GI_SCANNER__ */
|
||||||
|
|
||||||
/* The MS setlocale uses locale names of the form "English_United
|
/* The MS setlocale uses locale names of the form "English_United
|
||||||
* States.1252" etc. We want the Unixish standard form "en", "zh_TW"
|
* States.1252" etc. We want the Unixish standard form "en", "zh_TW"
|
||||||
@ -137,6 +137,6 @@ gboolean g_win32_check_windows_version (const gint major,
|
|||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif /* G_PLATFORM_WIN32 */
|
#endif /* G_PLATFORM_WIN32 || __GI_SCANNER__ */
|
||||||
|
|
||||||
#endif /* __G_WIN32_H__ */
|
#endif /* __G_WIN32_H__ */
|
||||||
|
Loading…
Reference in New Issue
Block a user