for msvc build

2003-08-05  Hans Breuer  <hans@breuer.org>

	* glib/gnulib/makefile.msc : (new file) for msvc build

	* glib/gnulib/vasnprintf.c : use glib/galloc.h

	* glib/gnulib/printf.h : #include <stdio.h> for FILE*

	* glib/makefile.msc.in : replace trio with gnulib

	* glib/glib.def : updated externals

	* glib/guniprop.c : fix for guniprop.c(582) : error C2082:
	redefinition of formal parameter 'len'
This commit is contained in:
Hans Breuer
2003-08-05 22:21:19 +00:00
committed by Hans Breuer
parent 10d02e3aef
commit 1fd50a1454
13 changed files with 130 additions and 9 deletions

20
glib/gnulib/makefile.msc Normal file
View File

@@ -0,0 +1,20 @@
!IFDEF DEBUG
CRT=-MDd
!ELSE
CRT=-MD
!ENDIF
CFLAGS = -I ..\.. -DHAVE_CONFIG_H -DHAVE_LONG_LONG_FORMAT
OBJECTS = \
asnprintf.obj \
printf.obj \
printf-args.obj \
printf-parse.obj \
vasnprintf.obj
gnulib.lib : $(OBJECTS)
lib -out:gnulib.lib $(OBJECTS)
.c.obj:
$(CC) $(CRT) $(CFLAGS) -Ox -GD -c $<

View File

@@ -20,6 +20,7 @@
#define __GNULIB_PRINTF_H__
#include <stdarg.h>
#include <stdio.h>
int _g_gnulib_printf (char const *format,
...);

View File

@@ -26,7 +26,7 @@
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <alloca.h>
#include "glib/galloca.h"
#include "g-gnulib.h"