summaryrefslogtreecommitdiff
path: root/include/asterisk/optional_api.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asterisk/optional_api.h')
-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.