Changeset 3826
- Timestamp:
- Feb 28, 2014, 1:00:25 AM (11 years ago)
- Location:
- trunk/libc
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libc/Config.kmk
r3823 r3826 89 89 if defined(CFG_LIBC_USE_WATCOM) 90 90 TEMPLATE_libc_TOOL = OPENWATCOM 91 TEMPLATE_libc_CFLAGS = $(TEMPLATE_lib_CFLAGS) -za99 91 TEMPLATE_libc_CFLAGS = $(TEMPLATE_lib_CFLAGS) -za99 -aa 92 92 TEMPLATE_libc_CFLAGS.os2 = $(TEMPLATE_lib_CFLAGS.os2) 93 93 TEMPLATE_libc_CFLAGS.release = $(TEMPLATE_lib_CFLAGS.release) … … 173 173 TEMPLATE_bldprog_INCS = $(TOOL_OPENWATCOM_CXXINCS) $(PATH_LIBC_ROOT) 174 174 TEMPLATE_bldprog_BLD_TRG_ARCH = x86 175 TEMPLATE_bldprog_CFLAGS = -za99 175 TEMPLATE_bldprog_CFLAGS = -za99 -aa 176 176 else 177 177 TEMPLATE_bldprog_TOOL = GCC3 -
trunk/libc/include/alloca.h
r1693 r3826 12 12 __BEGIN_DECLS 13 13 #if __GNUC__ >= 2 || defined(__INTEL_COMPILER) 14 #undef alloca /* some GNU bits try to get cute and define this on their own */ 15 #define alloca(sz) __builtin_alloca(sz) 14 # undef alloca /* some GNU bits try to get cute and define this on their own */ 15 # define alloca(sz) __builtin_alloca(sz) 16 17 #elif defined(__WATCOMC__) 18 # undef alloca /* ditto above */ 19 # ifdef _M_IX86 20 # define alloca(a_cb) __builtin_alloca( ((a_cb) + sizeof(void *) - 1) & ~(sizeof(void *) - 1) ) 21 extern void *__builtin_alloca(size_t cb); 22 # pragma aux __builtin_alloca = "sub esp, edx" parm [eax] value [esp] modify exact nomemory [esp] 23 # else 24 # error "Unsupported arch." 25 # endif 26 16 27 #elif defined(lint) 17 28 void *alloca(size_t); -
trunk/libc/src/glibc/argp/argp-help.c
r2144 r3826 28 28 29 29 /* AIX requires this to be the first thing in the file. */ 30 #ifdef __IN_KLIBC__ 31 # include <alloca.h> 32 #else /* !__IN_KLIBC__ */ 30 33 #ifndef __GNUC__ 31 34 # if HAVE_ALLOCA_H || defined _LIBC … … 41 44 # endif 42 45 #endif 46 #endif /* !__IN_KLIBC__ */ 43 47 44 48 #include <stddef.h> -
trunk/libc/src/glibc/argp/argp-parse.c
r2144 r3826 65 65 #endif 66 66 #ifndef N_ 67 # if 0 /* bird: OpenWatcom doesn't like this */ 67 68 # define N_(msgid) (msgid) 69 # else 70 # define N_(msgid) msgid 71 # endif 68 72 #endif 69 73 -
trunk/libc/src/glibc/intl/loadmsgcat.c
r2259 r3826 1002 1002 do 1003 1003 { 1004 #ifndef __IN_KLIBC__ 1004 1005 long int nb = (long int) TEMP_FAILURE_RETRY (read (fd, read_ptr, 1005 1006 to_read)); 1007 #else 1008 long int nb; 1009 do nb = read (fd, read_ptr, to_read); while (nb == -1 && errno == EINTR); 1010 #endif 1006 1011 if (nb <= 0) 1007 1012 goto out;
Note:
See TracChangeset
for help on using the changeset viewer.