Skip to content

Commit

Permalink
[cherry-pick] Allow old-style C calls for librdkafka (#174)
Browse files Browse the repository at this point in the history
Fixes build for swift 6.0 compiler
  • Loading branch information
blindspotbounty authored Oct 9, 2024
1 parent 298067a commit 1638b32
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Sources/Crdkafka/custom/config/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
#define SOLIB_EXT ".so"
#endif

#pragma clang diagnostic ignored "-Wimplicit-function-declaration"

#ifdef __x86_64__
#define ARCH "x86_64"
#elif defined(__arm64__) || defined(__arm__) || defined(__aarch64__)
Expand Down

0 comments on commit 1638b32

Please sign in to comment.