Changeset 3153 in kBuild
- Timestamp:
- Mar 15, 2018 6:34:50 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/glob/glob.c
r3152 r3153 179 179 #endif 180 180 181 #if 0 /* bird: This messes with the electric.c heap (linux/amd64). Probably missing prototype, so int return. */182 181 #if !defined HAVE_MEMPCPY && __GLIBC__ - 0 == 2 && __GLIBC_MINOR__ >= 1 183 182 # define HAVE_MEMPCPY 1 183 #if 0 /* bird: This messes with the electric.c heap (linux/amd64). Probably missing prototype, so int return. */ 184 184 # undef mempcpy 185 185 # define mempcpy(Dest, Src, Len) __mempcpy (Dest, Src, Len) … … 237 237 #endif 238 238 239 #if ndef __GNU_LIBRARY__239 #if 1 /*bird: sigh. ndef __GNU_LIBRARY__*/ 240 240 # define __stat stat 241 241 # ifdef STAT_MACROS_BROKEN … … 248 248 249 249 #ifdef _LIBC 250 # ifdef KMK 251 # error "_LIBC better not be defined!" 252 # endif 250 253 # undef strdup 251 254 # define strdup(str) __strdup (str) … … 1443 1446 memory_error: 1444 1447 { 1445 intsave = errno;1448 /*int*/ save = errno; 1446 1449 if (flags & GLOB_ALTDIRFUNC) 1447 1450 (*pglob->gl_closedir) (stream);
Note:
See TracChangeset
for help on using the changeset viewer.