Skip to content

Commit

Permalink
redefined gflags export macros
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiud committed Apr 11, 2021
1 parent 33ec36a commit 3b6e258
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/glog/logging.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@
#include <inttypes.h> // a third place for uint16_t or u_int16_t
#endif

#pragma push_macro("GFLAGS_DLL_DECLARE_FLAG")
#undef GFLAGS_DLL_DECLARE_FLAG
#define GFLAGS_DLL_DECLARE_FLAG GOOGLE_GLOG_DLL_DECL

#if @ac_cv_have_libgflags@
#include <gflags/gflags.h>
#endif
Expand Down Expand Up @@ -1826,4 +1830,6 @@ GOOGLE_GLOG_DLL_DECL void InstallFailureWriter(

@ac_google_end_namespace@

#pragma pop_macro("GFLAGS_DLL_DECLARE_FLAG")

#endif // _LOGGING_H_

0 comments on commit 3b6e258

Please sign in to comment.