nullptr
This commit is contained in:
parent
30664a5344
commit
5e1b92019b
2
H/Yap.h
2
H/Yap.h
@ -115,7 +115,7 @@
|
|||||||
* Use C++11 nullptr if available; otherwise use a C++ typesafe template; and
|
* Use C++11 nullptr if available; otherwise use a C++ typesafe template; and
|
||||||
* for C, fall back to longs. See bugs 547964 and 626472.
|
* for C, fall back to longs. See bugs 547964 and 626472.
|
||||||
*/
|
*/
|
||||||
#ifndef HAVE_NULLPTR
|
#if !defined(nullptr) && !defined(HAVE_NULLPTR)
|
||||||
#ifndef __cplusplus
|
#ifndef __cplusplus
|
||||||
# define nullptr ((void*)0)
|
# define nullptr ((void*)0)
|
||||||
#elif defined(__GNUC__)
|
#elif defined(__GNUC__)
|
||||||
|
Reference in New Issue
Block a user