mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-05 15:38:44 +02:00
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:
20
glib/gnulib/makefile.msc
Normal file
20
glib/gnulib/makefile.msc
Normal 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 $<
|
@@ -20,6 +20,7 @@
|
||||
#define __GNULIB_PRINTF_H__
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
|
||||
int _g_gnulib_printf (char const *format,
|
||||
...);
|
||||
|
@@ -26,7 +26,7 @@
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
#include <alloca.h>
|
||||
#include "glib/galloca.h"
|
||||
|
||||
#include "g-gnulib.h"
|
||||
|
||||
|
Reference in New Issue
Block a user