Skip to content

Commit

Permalink
bin: win32: fix 'error LNK2001: unresolved external symbol config' (f…
Browse files Browse the repository at this point in the history
…luent#2627)

f303cdb has removed the global symbol "config" on which winsvc.c
depends. This ended up producing the following error:

    error LNK2001: unresolved external symbol config

Bring back the symbol to make Windows Service working again.

Signed-off-by: Fujimoto Seiji <[email protected]>
  • Loading branch information
fujimotos authored and xmcqueen committed Oct 6, 2020
1 parent 449b773 commit 4056652
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fluent-bit.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ extern void win32_started(void);
#endif

flb_ctx_t *ctx;
struct flb_config *config;

#ifdef FLB_HAVE_LIBBACKTRACE
struct flb_stacktrace flb_st;
Expand Down Expand Up @@ -760,7 +761,6 @@ int flb_main(int argc, char **argv)
struct flb_input_instance *in = NULL;
struct flb_output_instance *out = NULL;
struct flb_filter_instance *filter = NULL;
struct flb_config *config;

#ifdef FLB_HAVE_LIBBACKTRACE
flb_stacktrace_init(argv[0], &flb_st);
Expand Down

0 comments on commit 4056652

Please sign in to comment.