Skip to content

Commit

Permalink
define __CPROVER macros even on __sun
Browse files Browse the repository at this point in the history
  • Loading branch information
arekinath committed Feb 12, 2024
1 parent 512ec6a commit d040647
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ extern "C" {

#include "utils.h"

#if defined(__sun)
#include <sys/debug.h>
#else

#if !defined(__CPROVER)
#define __CPROVER_assume(X) ((void)(0))
#define __CPROVER_assert(X,Y) (0)
#endif

#if defined(__sun)
#include <sys/debug.h>
#else

#undef VERIFY
#undef ASSERT

Expand Down

0 comments on commit d040647

Please sign in to comment.