Merge pull request #53 from mhaberler/typeof

CK_PR_ACCESS:  use __typeof__ instead of typeof
ck_pring
Samy Al Bahra 9 years ago
commit 35f9ff1ede

@ -53,7 +53,7 @@ ck_pr_barrier(void)
*/
#include "ck_f_pr.h"
#define CK_PR_ACCESS(x) (*(volatile typeof(x) *)&(x))
#define CK_PR_ACCESS(x) (*(volatile __typeof__(x) *)&(x))
#define CK_PR_LOAD(S, M, T) \
CK_CC_INLINE static T \

Loading…
Cancel
Save