Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 1037 → Rev 1038

/shark/trunk/config/libdep.mk
163,10 → 163,12
endif
 
# fs
ifeq ($(findstring YES,$(SHARK_FS)) , YES)
ifeq ($(LIB_PATH)/libfs.a,$(wildcard $(LIB_PATH)/libfs.a))
LINK_LIB += -lfs
LIB_DEP += $(LIB_PATH)/libfs.a
endif
endif
 
# c
ifeq ($(LIB_PATH)/libc.a,$(wildcard $(LIB_PATH)/libc.a))
/shark/trunk/libc/stdio/printf.c
60,7 → 60,8
{
int ret;
va_list ap;
 
#ifdef __SHARK_FS_SUPPORT__
#if __STDC__
va_start(ap, fmt);
#else
67,6 → 68,9
va_start(ap);
#endif
ret = vfprintf(stdout, fmt, ap);
#else
ret = cprintf(fmt, ap); // Remap to the cprintf if the Shark FS is not present
#endif
va_end(ap);
return (ret);
}