summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2017-11-17 09:18:39 -0600
committerGerrit Code Review <gerrit2@gerrit.digium.api>2017-11-17 09:18:39 -0600
commitef8ee3ee69fb1b2f9bb2694217d8dfdf124d251f (patch)
tree70e64607303e71e484c63476cd6b0dbd0c14052b /include
parent2e9c7f9b8f080a4b5847da690633fd090c842088 (diff)
parent76e640bd53438232870c29051e3ac7a3514eab37 (diff)
Merge "Build: Make function constructor/destructor attributes mandatory." into 13
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 394aed0e4..8d1498ca9 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.