Try to get atomic.h included correctly for C++
This commit is contained in:
@ -30,5 +30,9 @@
|
||||
* @endverbatim
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" int atomic_add(int *variable, int value);
|
||||
#else
|
||||
extern int atomic_add(int *variable, int value);
|
||||
#endif
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user