-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
out_cloudwatch_logs: Rename 'event' to 'cw_event'
libevent exports a struct with the same name (`struct event` in event2/event_struct.h). For this reason, this plugin fails to compile if libevent backend is enabled. Also unistd.h is not POSIX standard and not all platforms (in particular Windows) do not provide it. Include flb_compat.h to abstract away the header inclusion. With this patch, I can confirm out_cloudwatch_logs can be compiled and run on Windows. Signed-off-by: Fujimoto Seiji <fujimoto@ceptord.net>
- Loading branch information
Showing
4 changed files
with
17 additions
and
16 deletions.
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
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