cmake: Detect constructor and destructor attributes

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit 4c058aefd9)
This commit is contained in:
Andreas Schneider
2018-08-13 09:21:17 +02:00
parent 500486d501
commit 120f11812d
2 changed files with 27 additions and 0 deletions

View File

@@ -193,6 +193,9 @@
#cmakedefine HAVE_FALLTHROUGH_ATTRIBUTE 1
#cmakedefine HAVE_CONSTRUCTOR_ATTRIBUTE 1
#cmakedefine HAVE_DESTRUCTOR_ATTRIBUTE 1
#cmakedefine HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#cmakedefine HAVE_GCC_NARG_MACRO 1