summaryrefslogtreecommitdiff
path: root/src/pal/inc/pal.h
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2016-02-17 13:38:46 -0800
committerJan Kotas <jkotas@microsoft.com>2016-02-17 13:38:46 -0800
commit6ad35ca6638ed7b57bbbf21aa9d082e3f39f1d6b (patch)
treeab65d82df7b7933d73e0f063933ac2bc303f8cbb /src/pal/inc/pal.h
parent38bfba8bb44aa09abad5de3605b1e53e57fc49f4 (diff)
parent6952d90ad3edfc461ecbe081f121419f4072326c (diff)
downloadcoreclr-6ad35ca6638ed7b57bbbf21aa9d082e3f39f1d6b.tar.gz
coreclr-6ad35ca6638ed7b57bbbf21aa9d082e3f39f1d6b.tar.bz2
coreclr-6ad35ca6638ed7b57bbbf21aa9d082e3f39f1d6b.zip
Merge pull request #3189 from krytarowski/netbsd-support-49
Enforce compiler version of alloca(3) on NetBSD
Diffstat (limited to 'src/pal/inc/pal.h')
-rw-r--r--src/pal/inc/pal.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/pal/inc/pal.h b/src/pal/inc/pal.h
index cb39a885a5..4c0c30fb6e 100644
--- a/src/pal/inc/pal.h
+++ b/src/pal/inc/pal.h
@@ -6320,11 +6320,6 @@ PALIMPORT char * __cdecl _strdup(const char *);
#endif //_MSC_VER
#if defined(__GNUC__) && defined(PLATFORM_UNIX)
-// we set -fno-builtin on the command line. This requires that if
-// we use alloca, with either have to call __builtin_alloca, or
-// ensure that the alloca call doesn't happen in code which is
-// modifying the stack (such as "memset (alloca(x), y, z)"
-
#define alloca __builtin_alloca
#endif // __GNUC__