mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
win32 patch from Tor Lillqvist (glib-tml-981027-0), fixes some minor
win32 buglets -Yosh
This commit is contained in:
parent
215251e99d
commit
7470df9f23
@ -1,3 +1,10 @@
|
||||
Mon Oct 26 22:42:01 PST 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* glibconfig.h.win32
|
||||
* gutils.c
|
||||
* makefile.msc: win32 patch from Tor Lillqvist (glib-tml-981027-0),
|
||||
fixes some minor win32 buglets
|
||||
|
||||
Mon Oct 26 22:12:03 PST 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* glib.h: reimplemented the endian stuff, using inline asm
|
||||
|
@ -1,3 +1,10 @@
|
||||
Mon Oct 26 22:42:01 PST 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* glibconfig.h.win32
|
||||
* gutils.c
|
||||
* makefile.msc: win32 patch from Tor Lillqvist (glib-tml-981027-0),
|
||||
fixes some minor win32 buglets
|
||||
|
||||
Mon Oct 26 22:12:03 PST 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* glib.h: reimplemented the endian stuff, using inline asm
|
||||
|
@ -1,3 +1,10 @@
|
||||
Mon Oct 26 22:42:01 PST 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* glibconfig.h.win32
|
||||
* gutils.c
|
||||
* makefile.msc: win32 patch from Tor Lillqvist (glib-tml-981027-0),
|
||||
fixes some minor win32 buglets
|
||||
|
||||
Mon Oct 26 22:12:03 PST 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* glib.h: reimplemented the endian stuff, using inline asm
|
||||
|
@ -1,3 +1,10 @@
|
||||
Mon Oct 26 22:42:01 PST 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* glibconfig.h.win32
|
||||
* gutils.c
|
||||
* makefile.msc: win32 patch from Tor Lillqvist (glib-tml-981027-0),
|
||||
fixes some minor win32 buglets
|
||||
|
||||
Mon Oct 26 22:12:03 PST 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* glib.h: reimplemented the endian stuff, using inline asm
|
||||
|
@ -1,3 +1,10 @@
|
||||
Mon Oct 26 22:42:01 PST 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* glibconfig.h.win32
|
||||
* gutils.c
|
||||
* makefile.msc: win32 patch from Tor Lillqvist (glib-tml-981027-0),
|
||||
fixes some minor win32 buglets
|
||||
|
||||
Mon Oct 26 22:12:03 PST 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* glib.h: reimplemented the endian stuff, using inline asm
|
||||
|
@ -1,3 +1,10 @@
|
||||
Mon Oct 26 22:42:01 PST 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* glibconfig.h.win32
|
||||
* gutils.c
|
||||
* makefile.msc: win32 patch from Tor Lillqvist (glib-tml-981027-0),
|
||||
fixes some minor win32 buglets
|
||||
|
||||
Mon Oct 26 22:12:03 PST 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* glib.h: reimplemented the endian stuff, using inline asm
|
||||
|
@ -1,3 +1,10 @@
|
||||
Mon Oct 26 22:42:01 PST 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* glibconfig.h.win32
|
||||
* gutils.c
|
||||
* makefile.msc: win32 patch from Tor Lillqvist (glib-tml-981027-0),
|
||||
fixes some minor win32 buglets
|
||||
|
||||
Mon Oct 26 22:12:03 PST 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* glib.h: reimplemented the endian stuff, using inline asm
|
||||
|
@ -1,3 +1,10 @@
|
||||
Mon Oct 26 22:42:01 PST 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* glibconfig.h.win32
|
||||
* gutils.c
|
||||
* makefile.msc: win32 patch from Tor Lillqvist (glib-tml-981027-0),
|
||||
fixes some minor win32 buglets
|
||||
|
||||
Mon Oct 26 22:12:03 PST 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* glib.h: reimplemented the endian stuff, using inline asm
|
||||
|
@ -322,14 +322,16 @@ g_get_current_dir (void)
|
||||
gchar*
|
||||
g_getenv (const gchar *variable)
|
||||
{
|
||||
#ifndef NATIVE_WIN32
|
||||
g_return_val_if_fail (variable != NULL, NULL);
|
||||
|
||||
#ifndef NATIVE_WIN32
|
||||
return getenv (variable);
|
||||
#else
|
||||
gchar *v;
|
||||
guint l, k;
|
||||
gchar *p;
|
||||
|
||||
g_return_val_if_fail (variable != NULL, NULL);
|
||||
|
||||
v = getenv (variable);
|
||||
if (!v)
|
||||
|
@ -21,6 +21,10 @@
|
||||
/* Define if you have the ANSI C header files. */
|
||||
#define STDC_HEADERS 1
|
||||
|
||||
/* Define if your processor stores words with the most significant
|
||||
byte first (like Motorola and SPARC, unlike Intel and VAX). */
|
||||
/* #undef WORDS_BIGENDIAN */
|
||||
|
||||
/* #undef ENABLE_MEM_CHECK */
|
||||
/* #undef ENABLE_MEM_PROFILE */
|
||||
|
||||
|
4
gutils.c
4
gutils.c
@ -322,14 +322,16 @@ g_get_current_dir (void)
|
||||
gchar*
|
||||
g_getenv (const gchar *variable)
|
||||
{
|
||||
#ifndef NATIVE_WIN32
|
||||
g_return_val_if_fail (variable != NULL, NULL);
|
||||
|
||||
#ifndef NATIVE_WIN32
|
||||
return getenv (variable);
|
||||
#else
|
||||
gchar *v;
|
||||
guint l, k;
|
||||
gchar *p;
|
||||
|
||||
g_return_val_if_fail (variable != NULL, NULL);
|
||||
|
||||
v = getenv (variable);
|
||||
if (!v)
|
||||
|
@ -63,7 +63,7 @@ gmodule_OBJECTS = \
|
||||
gmodule.obj
|
||||
|
||||
gmodule-$(GLIB_VER).dll : $(gmodule_OBJECTS)
|
||||
$(CC) $(CFLAGS) -MD -LD -Fegmodule-$(GLIB_VER).dll $(gmodule_OBJECTS) glib-$(GLIB_VER).lib $(LDFLAGS) /def:gmodule.def
|
||||
$(CC) $(CFLAGS) -MD -LD -Fegmodule-$(GLIB_VER).dll $(gmodule_OBJECTS) glib-$(GLIB_VER).lib $(LDFLAGS) /def:gmodule\gmodule.def
|
||||
|
||||
gmodule.obj : gmodule\gmodule.c gmodule\gmodule-win32.c
|
||||
$(CC) $(CFLAGS) -Igmodule -c -DG_LIB_DOMAIN=g_log_domain_gmodule gmodule\gmodule.c
|
||||
|
Loading…
Reference in New Issue
Block a user