|
|
Message-ID: <1433236180.2010.17.camel@xiaoka.com>
Date: Tue, 02 Jun 2015 11:09:40 +0200
From: Tomasz Sterna <tomek@...oka.com>
To: musl@...ts.openwall.com
Subject: time.h define NULL
Why does time.h unconditionally define NULL [1]?
It gives me the following warning during compilation:
In file included from /usr/include/pthread.h:31:
/usr/include/time.h:11:9: warning: 'NULL' macro redefined
[-Wmacro-redefined]
#define NULL 0L
^
[1] http://git.musl-libc.org/cgit/musl/tree/include/time.h#n11
--
/o__
(_<^' It's better to burn out than it is to rust.
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.