Browse Source

[core] correct __attribute_pure__ syntax

personal/stbuehler/ci-build
Glenn Strauss 3 years ago
parent
commit
cc492d438b
  1. 4
      src/first.h

4
src/first.h

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

Loading…
Cancel
Save