mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-27 01:45:35 -05:00
define CC_FORMAT_PRINTF on msvc intellisense (#485)
This commit is contained in:
parent
c00ccd35b1
commit
4f4f14241b
1 changed files with 1 additions and 1 deletions
|
@ -426,7 +426,7 @@ public: \
|
|||
* but __has_attribute(format) is undefined,
|
||||
* leaving CC_FORMAT_PRINTF undefined by default.
|
||||
*/
|
||||
#elif defined(__has_attribute)
|
||||
#elif defined(__has_attribute) && !defined(_MSC_VER)
|
||||
#if __has_attribute(format)
|
||||
#define CC_FORMAT_PRINTF(formatPos, argPos) \
|
||||
__attribute__((__format__(printf, formatPos, argPos)))
|
||||
|
|
Loading…
Reference in a new issue