Skip to content

Commit

Permalink
missing extern 'C' wrapper around gasnet.h include
Browse files Browse the repository at this point in the history
  • Loading branch information
ctaylor committed Jul 23, 2023
1 parent c9734ea commit 246fbfa
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions libs/core/gasnet_base/include/hpx/gasnet_base/gasnet.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,16 @@
#pragma GCC diagnostic ignored "-Wcast-qual"
#endif

#ifdef __cplusplus
extern "C" {
#endif

#include <gasnet.h>

#ifdef __cplusplus
}
#endif

#if defined(__clang__)
#pragma clang diagnostic pop
#elif defined(__GNUC__)
Expand Down

0 comments on commit 246fbfa

Please sign in to comment.