Disable unwanted C++ definitions for MSVC.
MSVC does not set __cplusplus to the latest standard and also it does not like redefining some keywords.
This commit is contained in:
parent
53d40426e1
commit
13ae138af3
|
@ -214,7 +214,7 @@ extern "C" int hb_memalign_impl(void **memptr, size_t alignment, size_t size);
|
||||||
* Compiler attributes
|
* Compiler attributes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if __cplusplus < 201103L
|
#if __cplusplus < 201103L && !defined(_MSC_VER)
|
||||||
|
|
||||||
#ifndef nullptr
|
#ifndef nullptr
|
||||||
#define nullptr NULL
|
#define nullptr NULL
|
||||||
|
|
Loading…
Reference in New Issue