- Timestamp:
- Feb 28, 2014, 1:08:17 AM (11 years ago)
- Location:
- trunk/libc/src/glibc
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libc/src/glibc/crypt/crypt-entry.c
r2191 r3828 49 49 /* Prototypes for local functions. */ 50 50 #if __STDC__ - 0 51 #if !defined __GNU_LIBRARY__ && !defined __INNOTEK_LIBC__51 #if !defined __GNU_LIBRARY__ && !defined(__KLIBC__) 52 52 void _ufc_clearmem (char *start, int cnt); 53 53 #else … … 81 81 ufc_long xx = 25; /* to cope with GCC long long compiler bugs */ 82 82 83 #if defined _LIBC || defined __INNOTEK_LIBC__83 #if defined _LIBC || defined(__KLIBC__) 84 84 /* Try to find out whether we have to use MD5 encryption replacement. */ 85 85 if (strncmp (md5_salt_prefix, salt, sizeof (md5_salt_prefix) - 1) == 0) … … 124 124 const char *salt; 125 125 { 126 #if defined _LIBC || defined __INNOTEK_LIBC__126 #if defined _LIBC || defined(__KLIBC__) 127 127 /* Try to find out whether we have to use MD5 encryption replacement. */ 128 128 if (strncmp (md5_salt_prefix, salt, sizeof (md5_salt_prefix) - 1) == 0) … … 138 138 * They don't need to call init_des. 139 139 */ 140 #if defined _LIBC || defined __INNOTEK_LIBC__140 #if defined _LIBC || defined(__KLIBC__) 141 141 weak_alias (crypt, fcrypt) 142 142 #else -
trunk/libc/src/glibc/crypt/crypt_util.c
r2191 r3828 50 50 /* Prototypes for local functions. */ 51 51 #if __STDC__ - 0 52 #if !defined(__GNU_LIBRARY__) && !defined(__ INNOTEK_LIBC__)52 #if !defined(__GNU_LIBRARY__) && !defined(__KLIBC__) 53 53 void _ufc_clearmem (char *start, int cnt); 54 54 void _ufc_copymem (char *from, char *to, int cnt); … … 268 268 __libc_lock_define_initialized (static, _ufc_tables_lock) 269 269 #endif 270 #ifdef __ INNOTEK_LIBC__270 #ifdef __KLIBC__ 271 271 #include <sys/smutex.h> 272 272 #endif … … 274 274 275 275 276 #if defined(DEBUG) && !defined(__ INNOTEK_LIBC__)276 #if defined(DEBUG) && !defined(__KLIBC__) 277 277 278 278 void … … 309 309 #endif 310 310 311 #if !defined(__GNU_LIBRARY__) && !defined(__ INNOTEK_LIBC__)311 #if !defined(__GNU_LIBRARY__) && !defined(__KLIBC__) 312 312 /* 313 313 * Silly rewrites of 'bzero'/'memset'. I do so … … 375 375 goto small_tables_done; 376 376 #endif 377 #ifdef __ INNOTEK_LIBC__377 #ifdef __KLIBC__ 378 378 static _smutex smtx; 379 379 _smutex_request(&smtx); … … 488 488 __libc_lock_unlock(_ufc_tables_lock); 489 489 #endif 490 #ifdef __ INNOTEK_LIBC__490 #ifdef __KLIBC__ 491 491 small_tables_done: 492 492 _smutex_release(&smtx); -
trunk/libc/src/glibc/crypt/md5-crypt.c
r2191 r3828 264 264 } 265 265 266 #if !defined _LIBC && !defined __INNOTEK_LIBC__266 #if !defined _LIBC && !defined(__KLIBC__) 267 267 static void 268 268 __attribute__ ((__destructor__)) -
trunk/libc/src/glibc/crypt/md5.c
r2191 r3828 29 29 #include <sys/types.h> 30 30 31 #if STDC_HEADERS || defined _LIBC || defined __INNOTEK_LIBC__31 #if STDC_HEADERS || defined _LIBC || defined(__KLIBC__) 32 32 # include <stdlib.h> 33 33 # include <string.h> … … 40 40 #include "md5.h" 41 41 42 #if defined _LIBC || defined __INNOTEK_LIBC__42 #if defined _LIBC || defined(__KLIBC__) 43 43 # include <endian.h> 44 44 # if __BYTE_ORDER == __BIG_ENDIAN -
trunk/libc/src/glibc/crypt/md5.h
r2191 r3828 24 24 #include <stdio.h> 25 25 26 #if defined HAVE_LIMITS_H || (defined _LIBC && _LIBC) || defined(__ INNOTEK_LIBC__)26 #if defined HAVE_LIMITS_H || (defined _LIBC && _LIBC) || defined(__KLIBC__) 27 27 # include <limits.h> 28 28 #endif … … 35 35 is usually not possible. */ 36 36 37 #if defined _LIBC || defined __INNOTEK_LIBC__37 #if defined _LIBC || defined(__KLIBC__) 38 38 # include <stdint.h> 39 39 typedef uint32_t md5_uint32; -
trunk/libc/src/glibc/malloc/obstack.c
r2155 r3828 90 90 /* Exit value used when `print_and_abort' is used. */ 91 91 # include <stdlib.h> 92 # if defined _LIBC || defined __INNOTEK_LIBC__92 # if defined _LIBC || defined(__KLIBC__) 93 93 int obstack_exit_failure = EXIT_FAILURE; 94 94 # else … … 386 386 387 387 /* Define the error handler. */ 388 #ifndef __ INNOTEK_LIBC__388 #ifndef __KLIBC__ 389 389 # ifdef _LIBC 390 390 # include <libintl.h> … … 395 395 # define _(msgid) gettext (msgid) 396 396 # endif 397 #else /* __ INNOTEK_LIBC__ */397 #else /* __KLIBC__ */ 398 398 # undef _ 399 399 # define _(x) (x) 400 #endif /* __ INNOTEK_LIBC__ */400 #endif /* __KLIBC__ */ 401 401 402 402 -
trunk/libc/src/glibc/posix/getopt.c
r2212 r3828 56 56 /* This needs to come after some library #include 57 57 to get __GNU_LIBRARY__ defined. */ 58 #if defined __GNU_LIBRARY__ || defined __INNOTEK_LIBC__58 #if defined __GNU_LIBRARY__ || defined(__KLIBC__) 59 59 /* Don't include stdlib.h for non-GNU C libraries because some of them 60 60 contain conflicting prototypes for getopt. */ … … 69 69 #endif 70 70 71 #ifndef __ INNOTEK_LIBC__71 #ifndef __KLIBC__ 72 72 #ifndef _LIBC 73 73 # include <libintl.h> … … 76 76 # define _(msgid) gettext (msgid) 77 77 #endif 78 #else /* __ INNOTEK_LIBC__ */78 #else /* __KLIBC__ */ 79 79 # define _(msgid) msgid 80 #endif /* __ INNOTEK_LIBC__ */80 #endif /* __KLIBC__ */ 81 81 82 82 #if defined _LIBC && defined USE_IN_LIBIO -
trunk/libc/src/glibc/posix/regcomp.c
r3059 r3828 641 641 them unless specifically requested. */ 642 642 643 #if defined _REGEX_RE_COMP || defined _LIBC || defined __INNOTEK_LIBC__643 #if defined _REGEX_RE_COMP || defined _LIBC || defined(__KLIBC__) 644 644 645 645 /* BSD has one and only one pattern buffer. */ -
trunk/libc/src/glibc/posix/regex_internal.h
r3059 r3828 46 46 # include <stdint.h> 47 47 #endif /* HAVE_STDINT_H || _LIBC */ 48 #if defined _LIBC || defined __INNOTEK_LIBC__48 #if defined _LIBC || defined(__KLIBC__) 49 49 # include <bits/libc-lock.h> 50 50 #else … … 70 70 71 71 /* This is for other GNU distributions with internationalized messages. */ 72 #if !defined(__ INNOTEK_LIBC__) && (HAVE_LIBINTL_H && ENABLE_NLS) || defined _LIBC72 #if !defined(__KLIBC__) && (HAVE_LIBINTL_H && ENABLE_NLS) || defined _LIBC 73 73 # include <libintl.h> 74 74 # ifdef _LIBC … … 92 92 #endif 93 93 94 #ifndef __ INNOTEK_LIBC__94 #ifndef __KLIBC__ 95 95 #if (defined MB_CUR_MAX && HAVE_LOCALE_H && HAVE_WCTYPE_H && HAVE_WCHAR_H && HAVE_WCRTOMB && HAVE_MBRTOWC && HAVE_WCSCOLL) || _LIBC 96 96 # define RE_ENABLE_I18N … … 383 383 384 384 #ifndef _LIBC 385 # if defined __i386__ && !defined __INNOTEK_LIBC__385 # if defined __i386__ && !defined(__KLIBC__) 386 386 # define internal_function __attribute ((regparm (3), stdcall)) 387 387 # else -
trunk/libc/src/glibc/posix/regexec.c
r3059 r3828 596 596 them unless specifically requested. */ 597 597 598 #if defined _REGEX_RE_COMP || defined _LIBC || __ INNOTEK_LIBC__598 #if defined _REGEX_RE_COMP || defined _LIBC || __KLIBC__ 599 599 int 600 600 # ifdef _LIBC -
trunk/libc/src/glibc/sysdeps/generic/math_private.h
r2150 r3828 1 1 #include "../../../msun/src/math_private.h" 2 #ifdef __ INNOTEK_LIBC__2 #ifdef __KLIBC__ 3 3 # define strong_alias(name, aliasname) _strong_alias(name, aliasname) 4 4 # define _strong_alias(name, aliasname) \ -
trunk/libc/src/glibc/sysdeps/generic/w_lgammal.c
r2150 r3828 36 36 #endif 37 37 { 38 #if defined _IEEE_LIBM || defined __INNOTEK_LIBC__38 #if defined _IEEE_LIBM || defined(__KLIBC__) 39 39 return __ieee754_lgammal_r(x,&signgam); 40 40 #else -
trunk/libc/src/glibc/sysdeps/generic/w_tgammaf.c
r2150 r3828 34 34 y = __ieee754_gammaf_r(x,&local_signgam); 35 35 if (local_signgam < 0) y = -y; 36 #if defined _IEEE_LIBM || defined __INNOTEK_LIBC__36 #if defined _IEEE_LIBM || defined(__KLIBC__) 37 37 return y; 38 38 #else -
trunk/libc/src/glibc/sysdeps/generic/w_tgammal.c
r2150 r3828 39 39 y = __ieee754_gammal_r(x,&local_signgam); 40 40 if (local_signgam < 0) y = -y; 41 #if defined _IEEE_LIBM || defined __INNOTEK_LIBC__41 #if defined _IEEE_LIBM || defined(__KLIBC__) 42 42 return y; 43 43 #else
Note:
See TracChangeset
for help on using the changeset viewer.