]> git.ipfire.org Git - thirdparty/squid.git/commit
Portability: Define nullptr if not provided
authorAmos Jeffries <squid3@treenet.co.nz>
Sat, 23 May 2015 12:24:21 +0000 (05:24 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 23 May 2015 12:24:21 +0000 (05:24 -0700)
commite513d9f1dc52f3532c1bc00d4d018e3a4e71a3d7
treef1e44f55691c1ec63129c3a120898f0a86ce5c94
parent4dccc594223a5d0b6d9cb2d1d312dd72429270c9
Portability: Define nullptr if not provided

For use building with non-C++11 compilers, or broken stdlib definitions.
In the absence of nullptr we define it to be a synonym for NULL.

Also, removethe old hack defining NULL in terms of nullptr. It has never
worked properly and C++11 compilers define NULL explicitly.
acinclude/ax_cxx_0x_types.m4
compat/types.h