Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

out_cloudwatch_logs: Rename 'event' to 'cw_event' #2319

Merged
merged 1 commit into from
Jul 2, 2020

Commits on Jul 2, 2020

  1. 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>
    fujimotos committed Jul 2, 2020
    Configuration menu
    Copy the full SHA
    790ddf7 View commit details
    Browse the repository at this point in the history