forked from OSchip/llvm-project
Enable clang attributes when using clang-cl.
llvm-svn: 282029
This commit is contained in:
parent
c4636b3002
commit
4c5506a64d
|
@ -142,8 +142,8 @@
|
|||
#define MAX_PATH 260
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
// ignore GCC function attributes
|
||||
#if defined(_MSC_VER) && !defined(__clang__)
|
||||
#define __attribute__(X)
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue