mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 15:36: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>
|
Mon Oct 26 22:12:03 PST 1998 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* glib.h: reimplemented the endian stuff, using inline asm
|
* 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>
|
Mon Oct 26 22:12:03 PST 1998 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* glib.h: reimplemented the endian stuff, using inline asm
|
* 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>
|
Mon Oct 26 22:12:03 PST 1998 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* glib.h: reimplemented the endian stuff, using inline asm
|
* 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>
|
Mon Oct 26 22:12:03 PST 1998 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* glib.h: reimplemented the endian stuff, using inline asm
|
* 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>
|
Mon Oct 26 22:12:03 PST 1998 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* glib.h: reimplemented the endian stuff, using inline asm
|
* 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>
|
Mon Oct 26 22:12:03 PST 1998 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* glib.h: reimplemented the endian stuff, using inline asm
|
* 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>
|
Mon Oct 26 22:12:03 PST 1998 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* glib.h: reimplemented the endian stuff, using inline asm
|
* 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>
|
Mon Oct 26 22:12:03 PST 1998 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* glib.h: reimplemented the endian stuff, using inline asm
|
* glib.h: reimplemented the endian stuff, using inline asm
|
||||||
|
@ -322,15 +322,17 @@ g_get_current_dir (void)
|
|||||||
gchar*
|
gchar*
|
||||||
g_getenv (const gchar *variable)
|
g_getenv (const gchar *variable)
|
||||||
{
|
{
|
||||||
|
#ifndef NATIVE_WIN32
|
||||||
g_return_val_if_fail (variable != NULL, NULL);
|
g_return_val_if_fail (variable != NULL, NULL);
|
||||||
|
|
||||||
#ifndef NATIVE_WIN32
|
|
||||||
return getenv (variable);
|
return getenv (variable);
|
||||||
#else
|
#else
|
||||||
gchar *v;
|
gchar *v;
|
||||||
guint l, k;
|
guint l, k;
|
||||||
gchar *p;
|
gchar *p;
|
||||||
|
|
||||||
|
g_return_val_if_fail (variable != NULL, NULL);
|
||||||
|
|
||||||
v = getenv (variable);
|
v = getenv (variable);
|
||||||
if (!v)
|
if (!v)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
@ -21,6 +21,10 @@
|
|||||||
/* Define if you have the ANSI C header files. */
|
/* Define if you have the ANSI C header files. */
|
||||||
#define STDC_HEADERS 1
|
#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_CHECK */
|
||||||
/* #undef ENABLE_MEM_PROFILE */
|
/* #undef ENABLE_MEM_PROFILE */
|
||||||
|
|
||||||
|
4
gutils.c
4
gutils.c
@ -322,15 +322,17 @@ g_get_current_dir (void)
|
|||||||
gchar*
|
gchar*
|
||||||
g_getenv (const gchar *variable)
|
g_getenv (const gchar *variable)
|
||||||
{
|
{
|
||||||
|
#ifndef NATIVE_WIN32
|
||||||
g_return_val_if_fail (variable != NULL, NULL);
|
g_return_val_if_fail (variable != NULL, NULL);
|
||||||
|
|
||||||
#ifndef NATIVE_WIN32
|
|
||||||
return getenv (variable);
|
return getenv (variable);
|
||||||
#else
|
#else
|
||||||
gchar *v;
|
gchar *v;
|
||||||
guint l, k;
|
guint l, k;
|
||||||
gchar *p;
|
gchar *p;
|
||||||
|
|
||||||
|
g_return_val_if_fail (variable != NULL, NULL);
|
||||||
|
|
||||||
v = getenv (variable);
|
v = getenv (variable);
|
||||||
if (!v)
|
if (!v)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
@ -63,7 +63,7 @@ gmodule_OBJECTS = \
|
|||||||
gmodule.obj
|
gmodule.obj
|
||||||
|
|
||||||
gmodule-$(GLIB_VER).dll : $(gmodule_OBJECTS)
|
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
|
gmodule.obj : gmodule\gmodule.c gmodule\gmodule-win32.c
|
||||||
$(CC) $(CFLAGS) -Igmodule -c -DG_LIB_DOMAIN=g_log_domain_gmodule gmodule\gmodule.c
|
$(CC) $(CFLAGS) -Igmodule -c -DG_LIB_DOMAIN=g_log_domain_gmodule gmodule\gmodule.c
|
||||||
|
Loading…
Reference in New Issue
Block a user