win32 patch from Tor Lillqvist (glib-tml-981027-0), fixes some minor

win32 buglets

-Yosh
This commit is contained in:
Manish Singh 1998-10-27 06:58:33 +00:00
parent 215251e99d
commit 7470df9f23
12 changed files with 67 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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;

View File

@ -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 */

View File

@ -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;

View File

@ -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