NetBSD-Users archive

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

Re: NetBSD and _POSIX_C_SOURCE



    Date:        Sat, 4 May 2019 19:47:11 +0100
    From:        Sad Clouds <cryintothebluesky%gmail.com@localhost>
    Message-ID:  <20190504194711.c8c8895562bb59f6119a5798%googlemail.com@localhost>


  | What I'm trying to avoid is setting _NETBSD_SOURCE and getting some
  | "improved" NetBSD types/functions which directly conflict with POSIX. 

Put the OS specific code in one file/OS, compile the rest with
_POSIX_C_SOURCE set, and that one file with whatever is appropriate
on each system to get its specific extensions.

kre



Home | Main Index | Thread Index | Old Index