aboutsummaryrefslogtreecommitdiff
path: root/config.h.cmake
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2018-08-13 09:21:17 +0200
committerAndreas Schneider <asn@cryptomilk.org>2018-08-13 09:21:17 +0200
commit4c058aefd9fb8a6dc9e8a2dd0c2a3cf7256b61fc (patch)
tree52cf86301d895e217a10ce39d435e0e4475d02af /config.h.cmake
parent8c2ad7bdd34c6a0b5d920528b2061fb90ab12316 (diff)
downloadlibssh-4c058aefd9fb8a6dc9e8a2dd0c2a3cf7256b61fc.tar.gz
libssh-4c058aefd9fb8a6dc9e8a2dd0c2a3cf7256b61fc.tar.xz
libssh-4c058aefd9fb8a6dc9e8a2dd0c2a3cf7256b61fc.zip
cmake: Detect constructor and destructor attributes
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'config.h.cmake')
-rw-r--r--config.h.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h.cmake b/config.h.cmake
index 421f527d..edf5be21 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -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