- Timestamp:
- Jun 27, 2014, 12:08:18 AM (11 years ago)
- Location:
- trunk/libc
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libc/include/malloc.h
r3808 r3868 10 10 #include <sys/cdefs.h> 11 11 #include <sys/_types.h> 12 #include <alloca.h> /* The Microsoft CRT defines alloca in malloc.h. */ 12 13 13 14 #if defined (__cplusplus) -
trunk/libc/include/setjmp.h
r1506 r3868 66 66 void siglongjmp(sigjmp_buf, int) __dead2; 67 67 int sigsetjmp(sigjmp_buf, int); 68 # ifdef __WATCOMC_ 69 # pragma aux _longjmp aborts; 70 # pragma aux siglongjmp aborts; 71 # endif 72 #endif 73 #ifdef __WATCOMC_ 74 # pragma aux longjmp aborts; 68 75 #endif 69 76 __END_DECLS -
trunk/libc/include/stdlib.h
r3808 r3868 123 123 size_t wcstombs(char * __restrict, const wchar_t * __restrict, size_t); 124 124 125 #ifdef __WATCOMC_ 126 # pragma aux abort aborts; 127 # pragma aux exit aborts; 128 #endif 129 125 130 /* 126 131 * Functions added in C99 which we make conditionally available in the … … 158 163 159 164 void _Exit(int) __dead2; 165 # ifdef __WATCOMC_ 166 # pragma aux _Exit aborts; 167 # endif 160 168 #endif /* __ISO_C_VISIBLE >= 1999 */ 161 169 … … 225 233 const char *); 226 234 235 # ifndef __KLIBC__ 227 236 /* 228 237 * The alloca() function can't be implemented in C, and on some … … 240 249 void *alloca(size_t); 241 250 #endif 251 # else /* __KLIBC__ - get alloca from alloca.h. */ 252 # include "alloca.h" 253 # endif /* __KLIBC__ */ 242 254 243 255 __uint32_t -
trunk/libc/src/libc/io/_output.c
r3281 r3868 807 807 default: 808 808 abort (); 809 return -1; /* shut up watcom */ 809 810 } 810 811 } -
trunk/libc/src/libc/io/freopen.c
r2672 r3868 104 104 if (stream->_flags & _IOOPEN) 105 105 { 106 int omode;106 unsigned int omode; 107 107 int flags = _interpret_stream_mode(mode, &omode); 108 108 if (flags != -1)
Note:
See TracChangeset
for help on using the changeset viewer.