Commit 2ee3dfff authored by David Flynn's avatar David Flynn
Browse files

build: disable use of non-portable __attribute__(()) for MSVC

parent 8c3defbe
...@@ -51,6 +51,10 @@ ...@@ -51,6 +51,10 @@
# define DEPRECATED __attribute__((deprecated)) # define DEPRECATED __attribute__((deprecated))
#endif #endif
#if _MSC_VER && !defined(__attribute__)
# define __attribute__(...)
#endif
namespace pcc { namespace pcc {
const uint32_t PCC_UNDEFINED_INDEX = -1; const uint32_t PCC_UNDEFINED_INDEX = -1;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment