Skip to content

Commit

Permalink
Don't define _GNUSOURCE twice
Browse files Browse the repository at this point in the history
  • Loading branch information
khuck committed Dec 4, 2018
1 parent 20f01fb commit 35ae4de
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/apex/tau_listener.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
#include <memory>

#ifndef APEX_USE_WEAK_SYMBOLS
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif // _GNU_SOURCE
#include <dlfcn.h>
#endif // APEX_USE_WEAK_SYMBOLS

Expand Down

0 comments on commit 35ae4de

Please sign in to comment.