[core] correct __attribute_pure__ syntax

This commit is contained in:
Glenn Strauss 2019-06-06 02:56:37 -04:00
parent 1300815688
commit cc492d438b
1 changed files with 2 additions and 2 deletions

View File

@ -132,9 +132,9 @@
#ifndef __attribute_pure__
#if __has_attribute(pure) \
|| __GNUC_PREREQ(2,96)
#define __attribute_pure__(x) __attribute__((__pure__ x))
#define __attribute_pure__ __attribute__((__pure__))
#else
#define __attribute_pure__(x)
#define __attribute_pure__
#endif
#endif