]> git.ipfire.org Git - thirdparty/squid.git/commit
Portability: Define nullptr if not provided
authorAmos Jeffries <squid3@treenet.co.nz>
Wed, 27 May 2015 23:25:58 +0000 (16:25 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 27 May 2015 23:25:58 +0000 (16:25 -0700)
commit81669deaba8270cef5ddfd84d1e2fe1a3bbcdbb0
tree44c155f9491cc8c330e2ddc41861131c86b6d7b1
parentd12dbb666e4137eb9103bb6918f643825455c132
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, remove the 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