summaryrefslogtreecommitdiffstats
path: root/lib/libc/i386/gen/alloca.S
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/i386/gen/alloca.S')
-rw-r--r--lib/libc/i386/gen/alloca.S6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/i386/gen/alloca.S b/lib/libc/i386/gen/alloca.S
index 4f44db7..657c114 100644
--- a/lib/libc/i386/gen/alloca.S
+++ b/lib/libc/i386/gen/alloca.S
@@ -34,7 +34,9 @@
* SUCH DAMAGE.
*/
-#ifndef __GNUC__
+#if !defined(__GNUC__) && !defined(__INTEL_COMPILER)
+#error Please add alloca support for this compiler on FreeBSD.
+
#if defined(LIBC_SCCS) && !defined(lint)
.asciz "@(#)alloca.s 5.2 (Berkeley) 5/14/90"
#endif /* LIBC_SCCS and not lint */
@@ -57,4 +59,4 @@ ENTRY(alloca)
pushl 0(%ecx)
pushl %eax /* dummy to pop at callsite */
jmp *%edx /* "return" */
-#endif /*__GNUC__*/
+#endif /*!__GNUC__*/
OpenPOWER on IntegriCloud