From: Amos Jeffries Date: Wed, 22 Apr 2015 04:42:04 +0000 (-0700) Subject: C++11: retain support for older compilers after rev.14028 X-Git-Tag: merge-candidate-3-v1~163 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f84e06d576593145a6746a15a4b04ae77f899cf;p=thirdparty%2Fsquid.git C++11: retain support for older compilers after rev.14028 --- diff --git a/src/base/Lock.h b/src/base/Lock.h index 463c5d710e..f081cf5cf4 100644 --- a/src/base/Lock.h +++ b/src/base/Lock.h @@ -9,7 +9,11 @@ #ifndef SQUID_SRC_BASE_LOCK_H #define SQUID_SRC_BASE_LOCK_H +#if __cplusplus >= 201103L #include +#else +#include +#endif /** * This class provides a tracking counter and presents