Skip to content

Commit

Permalink
Define away WEAK on Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
rgal committed Jan 21, 2021
1 parent 58679fb commit 847727c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions compiler-rt/lib/scudo/standalone/internal_defs.h
Expand Up @@ -30,7 +30,11 @@

#define INTERFACE __attribute__((visibility("default")))
#define HIDDEN __attribute__((visibility("hidden")))
#if SCUDO_WINDOWS
#define WEAK
#else
#define WEAK __attribute__((weak))
#endif

// Platform-specific defs.
#if defined(_MSC_VER)
Expand Down

0 comments on commit 847727c

Please sign in to comment.