Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Thu, 05 Mar 2015 09:40:26 +1100
From: James Taylor <>
Subject: Re: Query: does musl have a define __musl__ or such?

On 05/03/15 09:20, Neil Henning wrote:
> Hey there,
> I'm looking for a macro that I can ifdef on when I need to ban some libs
> from using non-standard c functions.
> Something like;
> #ifndef __musl__
> // ...
> #endif
> Can't find anything at present, am I missing something?
> -Neil.

The best way is to make musl the else case, and also read for
reasoning on not having the __MUSL__ macro, other than it causing people
to go nuts on conditionals and create more of a debugging nightmare ;)

James Taylor
Keybase (

Download attachment "signature.asc" of type "application/pgp-signature" (474 bytes)

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.