mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-22 18:22:11 +01:00
gstdio: Only ever use __GI_SCANNER__ with ifdef and ifndef
It is getting ignored if used with anything else
This commit is contained in:
parent
9c7a57dcc5
commit
314a446fa1
@ -57,7 +57,7 @@ typedef struct stat GStatBuf;
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(G_OS_UNIX) && !defined(G_STDIO_WRAP_ON_UNIX) && !defined(__GI_SCANNER__)
|
#if defined(G_OS_UNIX) && !defined(G_STDIO_WRAP_ON_UNIX)
|
||||||
|
|
||||||
/* Just pass on to the system functions, so there's no potential for data
|
/* Just pass on to the system functions, so there's no potential for data
|
||||||
* format mismatches, especially with large file interfaces.
|
* format mismatches, especially with large file interfaces.
|
||||||
@ -81,7 +81,7 @@ typedef struct stat GStatBuf;
|
|||||||
#define g_freopen freopen
|
#define g_freopen freopen
|
||||||
#define g_fsync fsync
|
#define g_fsync fsync
|
||||||
#define g_utime utime
|
#define g_utime utime
|
||||||
#endif
|
#endif /* !__GTK_DOC_IGNORE__ */
|
||||||
|
|
||||||
GLIB_AVAILABLE_IN_ALL
|
GLIB_AVAILABLE_IN_ALL
|
||||||
int g_access (const gchar *filename,
|
int g_access (const gchar *filename,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user