mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-22 17:08:53 +02:00
On G_OS_UNIX, simple #define g_open and co. as aliases for their
Tue Feb 22 22:03:38 2005 Manish Singh <yosh@gimp.org> * glib/gstdio.h: On G_OS_UNIX, simple #define g_open and co. as aliases for their respective C library functions, instead of using the function wrappers. This avoids library users having to care about matching large file support with whatever glib has been built with. Fixes bug #167942. * glib/gstdio.c * glib/abicheck.sh * glib/glib.symbols * glib/makegalias.pl: Logic to make the gstdio wrappers still available for compatibility, but not used in new code.
This commit is contained in:
committed by
Manish Singh
parent
ea28f59fc1
commit
1ecb9a686c
@@ -19,6 +19,8 @@
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#define G_STDIO_NO_WRAP_ON_UNIX
|
||||
#include "galias.h"
|
||||
|
||||
#include "glib.h"
|
||||
|
Reference in New Issue
Block a user