Browse Source

[core] __attribute_pure__

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

9
src/first.h

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

Loading…
Cancel
Save