Skip to content

Commit

Permalink
Fix MSVC warning C4273 "inconsistent dll linkage"
Browse files Browse the repository at this point in the history
  • Loading branch information
hebasto committed Mar 1, 2024
1 parent 11439e2 commit 84c76bb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/randomenv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@
#include <sys/auxv.h>
#endif

#ifndef _MSC_VER
extern char** environ; // NOLINT(readability-redundant-declaration): Necessary on some platforms
#endif

namespace {

Expand Down

0 comments on commit 84c76bb

Please sign in to comment.