Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/include



Module Name:    src
Committed By:   plunky
Date:           Tue Jun  1 08:42:56 UTC 2010

Modified Files:
        src/include: stdlib.h

Log Message:
later versions of pcc may define __GNUC__ for compatibility reasons, so
having a system definition for alloca is counter productive as it seems
fairly common to use

    #ifdef __GNUC__
    #define alloca ..
    #endif

in user-headers (eg see usr.sbin/gspa/gspa/gspa_ass.h)

So, defang this definition as we don't otherwise provide alloca on NetBSD


To generate a diff of this commit:
cvs rdiff -u -r1.91 -r1.92 src/include/stdlib.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index