This commit is contained in:
Vítor Santos Costa 2015-02-03 02:58:49 +00:00
parent 30664a5344
commit 5e1b92019b

View File

@ -115,7 +115,7 @@
* Use C++11 nullptr if available; otherwise use a C++ typesafe template; and
* for C, fall back to longs. See bugs 547964 and 626472.
*/
#ifndef HAVE_NULLPTR
#if !defined(nullptr) && !defined(HAVE_NULLPTR)
#ifndef __cplusplus
# define nullptr ((void*)0)
#elif defined(__GNUC__)