Skip to content

Commit 0fe316f

Browse files
committed
Check to make sure not just in C, to avoid errors
1 parent a8e8273 commit 0fe316f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Sources/CAudioKitEX/include/AtomicDataPtr.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
#ifndef AtomicData_hpp
44
#define AtomicData_hpp
55

6+
#ifdef __cplusplus
7+
68
#include <atomic>
79
#include <memory>
810
#include <vector>
@@ -80,4 +82,6 @@ class AtomicDataPtr {
8082
}
8183
};
8284

85+
#endif // __cplusplus
86+
8387
#endif /* AtomicData_hpp */

0 commit comments

Comments
 (0)