-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP: commit to switch librdkafka from version 1.1.0 to version 2.3.0
- Loading branch information
1 parent
9c1b409
commit 0dc894c
Showing
2 changed files
with
29 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#ifndef LIBRDKAFKA_CONFIG_H | ||
#define LIBRDKAFKA_CONFIG_H | ||
|
||
/* this file is for Linux builds, not Windows which has its own config file */ | ||
#if ( !defined _WIN32 ) | ||
|
||
#define WITH_SSL 0 | ||
#define WITH_ZLIB 1 | ||
#define WITH_SNAPPY 0 | ||
#define WITH_ZSTD 0 | ||
/* zstd is linked dynamically on Windows, but the dynamic library provides | ||
* the experimental/advanced API, just as the static builds on *nix */ | ||
#define WITH_ZSTD_STATIC 0 | ||
#define WITH_SASL_SCRAM 0 | ||
#define WITH_SASL_OAUTHBEARER 0 | ||
#define ENABLE_DEVEL 0 | ||
#define WITH_PLUGINS 1 | ||
#define WITH_HDRHISTOGRAM 1 | ||
|
||
#define SOLIB_EXT ".so" | ||
|
||
/* Notice: Keep up to date */ | ||
#define BUILT_WITH "SSL ZLIB SNAPPY SASL_SCRAM PLUGINS HDRHISTOGRAM" | ||
|
||
#endif | ||
|
||
#endif /* LIBRDKAFKA_CONFIG_H ? */ |