Ticket #377: libc-dmik-no-bsd.2.diff

File libc-dmik-no-bsd.2.diff, 806 bytes (added by dmik, 7 years ago)
  • usr/include/types.h

    old new  
    2323
    2424#define NIL ((char *) 0)
    2525#define PZERO 0
     26#if 0 /* Don't pretend we're BSD (see sys/param.h) */
    2627#define BSD 43
     28#endif
    2729#ifndef TRUE
    2830#define TRUE 1
    2931#endif
  • usr/include/sys/param.h

    old new  
    2323#endif
    2424
    2525
     26#if 0 /* Don't pretend we're BSD (see below) */
    2627/** @group BSD version defines.
    2728 * OS2: The toolkit headers define these. Resent FreeBSD release does too.
    2829 * Warning! Be aware that config scripts and programs may check for these and
     
    4344#define BSD4_4  1
    4445#endif
    4546/** @} */
     47#endif
    4648
    4749
    4850#ifndef LOCORE