summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJenkins2 <jenkins2@gerrit.asterisk.org>2017-11-17 09:45:12 -0600
committerGerrit Code Review <gerrit2@gerrit.digium.api>2017-11-17 09:45:12 -0600
commit8fdc7fd1d3e77ae171671231e318d15710a0f715 (patch)
treef7403c6c6101de030f092102fc7bd9ec52c4100b /include
parent536e4a31b73c1cb9282008304a4b4a2cf10e66ee (diff)
parenta3a20e952829ada600b7f4f19fb5e865e9eef752 (diff)
Merge "Build: Make function constructor/destructor attributes mandatory." into 15
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/optional_api.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/asterisk/optional_api.h b/include/asterisk/optional_api.h
index 1118dc7cd..1ac765162 100644
--- a/include/asterisk/optional_api.h
+++ b/include/asterisk/optional_api.h
@@ -107,10 +107,6 @@
#if defined(OPTIONAL_API)
-#if !defined(HAVE_ATTRIBUTE_constructor) || !defined(HAVE_ATTRIBUTE_constructor)
-#error OPTIONAL_API requires compiler constructor/destructor support
-#endif
-
/*!
* \internal
* \brief Function pointer to an optional API function.