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:
Manish Singh
2005-02-23 06:04:05 +00:00
committed by Manish Singh
parent ea28f59fc1
commit 1ecb9a686c
9 changed files with 105 additions and 11 deletions

View File

@@ -19,6 +19,8 @@
*/
#include "config.h"
#define G_STDIO_NO_WRAP_ON_UNIX
#include "galias.h"
#include "glib.h"