summaryrefslogtreecommitdiff
path: root/include/stdlib.h
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2020-10-24 23:21:06 +0000
committerWarner Losh <imp@FreeBSD.org>2020-10-24 23:21:06 +0000
commit60b426f46ce3b5edbe8a9e4f73ca60e4ff914d7c (patch)
tree93cd1baf16e271bbfbd3592f5dfcb5cddc44674e /include/stdlib.h
parentf93c028ac9fa8d9a86185da83b499017596d6d92 (diff)
downloadsrc-test2-60b426f46ce3b5edbe8a9e4f73ca60e4ff914d7c.tar.gz
src-test2-60b426f46ce3b5edbe8a9e4f73ca60e4ff914d7c.zip
Remove obsolete check for GCC < 3 and support for Intel Compiler
We no longer support old versions of GCC. Remove this check by assuming it's false. That will make the entire expression false. Also remove support for Intel compiler, it's badly bitrotted. Technically, this removes support for C89 and K&R from compilers that don't define _Bool in those compilation environments as well. I'm unaware of any working compiler today for which that would be relevant (pcc has it and tcc sadly isn't working for other reasons), though if one pops up in ports, I'll work to resolve the issue.
Notes
Notes: svn path=/head/; revision=367028
Diffstat (limited to 'include/stdlib.h')
-rw-r--r--include/stdlib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index 045a9fda9cfb..ca96c06b83b7 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -253,7 +253,7 @@ extern void (*malloc_message)(void *, const char *);
* On platforms where alloca() is not in libc, programs which use it
* will fail to link when compiled with non-GNU compilers.
*/
-#if __GNUC__ >= 2 || defined(__INTEL_COMPILER)
+#if __GNUC__ >= 2
#undef alloca /* some GNU bits try to get cute and define this on their own */
#define alloca(sz) __builtin_alloca(sz)
#endif