Skip to content

Commit

Permalink
clang: fix compilation by ignoring a warning
Browse files Browse the repository at this point in the history
Fixes: #4308
  • Loading branch information
jvsg committed May 8, 2024
1 parent ff8cd79 commit 3613812
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/perl.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@

#include <XSUB.h>

#if defined(__APPLE__)
#pragma clang diagnostic ignored "-Wcompound-token-split-by-macro"
#endif

/* Some versions of Perl define their own version of DEBUG... :-/ */
#ifdef DEBUG
#undef DEBUG
Expand Down

0 comments on commit 3613812

Please sign in to comment.