Description: Patch for patch
 .
 cbmc (5.95.1-2) unstable; urgency=low
 .
   * Fix portability problems
Author: Michael Tautschnig <mt@debian.org>

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

Origin: (upstream|backport|vendor|other), (<patch-url>|commit:<commit-id>)
Bug: <upstream-bugtracker-url>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: (no|not-needed|<patch-forwarded-url>)
Applied-Upstream: <version>, (<commit-url>|commit:<commid-id>)
Reviewed-By: <name and email of someone who approved/reviewed the patch>
Last-Update: 2024-02-16

--- cbmc-5.95.1.orig/regression/cbmc/Pointer_byte_extract8/main.i
+++ cbmc-5.95.1/regression/cbmc/Pointer_byte_extract8/main.i
@@ -1,9 +1,5 @@
 void *malloc(__CPROVER_size_t);
 
-#ifdef _MSC_VER
-#  define _Static_assert(x, m) static_assert(x, m)
-#endif
-
 struct list;
 
 typedef struct list list_nodet;
@@ -24,7 +20,7 @@ list_nodet *build_node(int depth)
     return ((list_nodet *)NULL);
   else
   {
-    _Static_assert(sizeof(list_nodet) == 16, "");
+    __CPROVER_assert(sizeof(list_nodet) == 16, "struct size is 16 bytes");
     list_nodet *result = malloc(16);
 
     if(result)
