Description: fix macro for libc++
 .
 cbmc (5.12-5~xenial9) xenial; urgency=low
 .
   * Upload to PPA
Author: Michael Tautschnig <mt@debian.org>

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: 2020-05-07

--- cbmc-5.12.orig/unit/util/irep.cpp
+++ cbmc-5.12/unit/util/irep.cpp
@@ -38,7 +38,7 @@ SCENARIO("irept_memory", "[core][utils][
 #ifndef NAMED_SUB_IS_FORWARD_LIST
       const std::size_t named_size = sizeof(std::map<int, int>);
 #  ifndef _GLIBCXX_DEBUG
-#    ifdef __APPLE__
+#    if defined(__APPLE__) || defined(_LIBCPP_VERSION)
       REQUIRE(sizeof(std::map<int, int>) == 3 * sizeof(void *));
 #    elif defined(_WIN32)
       REQUIRE(sizeof(std::map<int, int>) == 2 * sizeof(void *));
