mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-21 08:47:28 +01:00
Add WUFFS_BASE__HAVE_UNIQUE_PTR macro
This commit is contained in:
1 parent
2dfeee722c
commit
69e32e8579
4 files changed
+38
-36
No files matched your search
@@ -33,8 +33,9 @@
|
||||
|
||||
// Note that Clang also defines __GNUC__.
|
||||
#ifdef __cplusplus
|
||||
#if __cplusplus >= 201103L
|
||||
#if (__cplusplus >= 201103L) || defined(_MSC_VER)
|
||||
#include <memory>
|
||||
#define WUFFS_BASE__HAVE_UNIQUE_PTR
|
||||
#elif defined(__GNUC__)
|
||||
#warning "Wuffs' C++ code expects -std=c++11 or later"
|
||||
#elif defined(_MSC_VER)
|
||||
|
||||
Reference in new issue
Block a user