Skip to content

Commit

Permalink
Some intrinsics are not available in clang/win
Browse files Browse the repository at this point in the history
When compiling for Windows with clang, intrinsics like _ReadBarrier,
_WriteBarrier are not available.
  • Loading branch information
Cheng Zhao committed Mar 3, 2023
1 parent 733b470 commit f027011
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hdr_atomic.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#define HDR_ATOMIC_H__


#if defined(_MSC_VER)
#if defined(_MSC_VER) && !defined(__clang__)

#include <stdint.h>
#include <intrin.h>
Expand Down

0 comments on commit f027011

Please sign in to comment.