newlib: add wcsftime()

git-svn-id: svn://kolibrios.org@6628 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Sergey Semyonov (Serge) 2016-10-28 09:29:54 +00:00
parent c48b963b16
commit 0f191361f2
3 changed files with 5 additions and 4 deletions

View File

@ -573,7 +573,7 @@ LIB_OBJS+= \
$(PRINTF_OBJS) \
$(MATH_OBJS)
LIB_OBJS+= time/wcsftime.o
shared: $(NAME).dll libdll.a
@ -655,7 +655,8 @@ stdio/svfwscanf.o: stdio/vfwscanf.c
stdio/vfiwscanf.o: stdio/vfwscanf.c
$(CC) $(CFLAGS) $(DEFINES) -DINTEGER_ONLY $(INCLUDES) stdio/vfwscanf.c -o $@
time/wcsftime.o: time/strftime.c
$(CC) $(CFLAGS) $(DEFINES) -DMAKE_WCSFTIME $(INCLUDES) time/strftime.c -o $@
%.obj : %.asm Makefile

View File

@ -526,6 +526,8 @@ LIB_OBJS = compile(LIB_SRCS)
LIB_OBJS += tup.rule("crt/crtdll.c", "kos32-gcc $(CFLAGS) $(DEFINES) $(INCLUDES) -fno-delete-null-pointer-checks -c %f -o %o","crt/crtdll.o")
LIB_OBJS += tup.rule("pe/loader.c", "kos32-gcc $(CFLAGS) $(DEFINES) $(INCLUDES) -fno-delete-null-pointer-checks -c %f -o %o", "pe/loader.o")
LIB_OBJS += tup.rule("reent/renamer.c", "kos32-gcc $(CFLAGS) $(DEFINES) $(INCLUDES) -D_COMPILING_NEWLIB -c %f -o %o", "reent/renamer.o")
LIB_OBJS += tup.rule("time/strftime.c", "kos32-gcc $(CFLAGS) $(DEFINES) -DMAKE_WCSFTIME $(INCLUDES) -c %f -o %o", "time/wcsftime.o")
LIBDLL_OBJS = compile(LIBDLL_SRCS)

View File

@ -105,9 +105,7 @@ LIBC {
__kernel_tanf;
__libc_getenv;
__lo0bits;
__locale_charset;
__locale_cjk_lang;
__locale_mb_cur_max;
__locale_msgcharset;
__lshift;
__mb_cur_max;