VirtualBox

Changeset 3153 in kBuild


Ignore:
Timestamp:
Mar 15, 2018 6:34:50 PM (7 years ago)
Author:
bird
Message:

kmk/glob.c: More double underscore fixes. Warning fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/glob/glob.c

    r3152 r3153  
    179179#endif
    180180
    181 #if 0 /* bird: This messes with the electric.c heap (linux/amd64). Probably missing prototype, so int return. */
    182181#if !defined HAVE_MEMPCPY && __GLIBC__ - 0 == 2 && __GLIBC_MINOR__ >= 1
    183182# define HAVE_MEMPCPY   1
     183#if 0 /* bird: This messes with the electric.c heap (linux/amd64). Probably missing prototype, so int return. */
    184184# undef  mempcpy
    185185# define mempcpy(Dest, Src, Len) __mempcpy (Dest, Src, Len)
     
    237237#endif
    238238
    239 #ifndef __GNU_LIBRARY__
     239#if 1 /*bird: sigh. ndef __GNU_LIBRARY__*/
    240240# define __stat stat
    241241# ifdef STAT_MACROS_BROKEN
     
    248248
    249249#ifdef _LIBC
     250# ifdef KMK
     251#  error "_LIBC better not be defined!"
     252# endif
    250253# undef strdup
    251254# define strdup(str) __strdup (str)
     
    14431446 memory_error:
    14441447  {
    1445     int save = errno;
     1448    /*int*/ save = errno;
    14461449    if (flags & GLOB_ALTDIRFUNC)
    14471450      (*pglob->gl_closedir) (stream);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette