Enable clang attributes when using clang-cl.

llvm-svn: 282029
This commit is contained in:
Zachary Turner 2016-09-20 22:15:07 +00:00
parent c4636b3002
commit 4c5506a64d
1 changed files with 1 additions and 1 deletions

View File

@ -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