Skip to content

Commit

Permalink
GHI #32 Add extern "C" to feature_check.h
Browse files Browse the repository at this point in the history
  • Loading branch information
doodspav committed May 10, 2024
1 parent 4b46e70 commit 0150ad3
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion include/patomic/types/feature_check.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@

#include <patomic/patomic_export.h>

// TODO: extern C
#ifdef __cplusplus
extern "C" {
#endif


/**
Expand Down Expand Up @@ -504,4 +506,8 @@ patomic_feature_check_leaf_transaction(
);


#ifdef __cplusplus
} /* extern "C" */
#endif

#endif /* PATOMIC_FEATURE_CHECK_H */

0 comments on commit 0150ad3

Please sign in to comment.