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 c163640
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 @@ -33,6 +33,10 @@
/* do not automatically get the thread specific Perl interpreter */
#define PERL_NO_GET_CONTEXT

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

#include "collectd.h"
#include <stdbool.h>

Expand Down

0 comments on commit c163640

Please sign in to comment.