From 6c96c41ee49c11dda436eecc23beea002eace19e Mon Sep 17 00:00:00 2001 From: grischka Date: Sun, 16 Dec 2007 18:24:44 +0000 Subject: Import changesets (part 4) 428,457,460,467: defines for openbsd etc. --- bcheck.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'bcheck.c') diff --git a/bcheck.c b/bcheck.c index d13abf5..0ec2a4b 100644 --- a/bcheck.c +++ b/bcheck.c @@ -21,7 +21,7 @@ #include #include #include -#ifndef __FreeBSD__ +#if !defined(__FreeBSD__) && !defined(__DragonFly__) && !defined(__OpenBSD__) #include #endif @@ -36,8 +36,9 @@ #define HAVE_MEMALIGN -#if defined(__FreeBSD__) || defined(__dietlibc__) -#warning Bound checking not fully supported on FreeBSD +#if defined(__FreeBSD__) || defined(__DragonFly__) || defined(__dietlibc__) \ + || defined(__UCLIBC__) || defined(__OpenBSD__) +#warning Bound checking not fully supported in this environment. #undef CONFIG_TCC_MALLOC_HOOKS #undef HAVE_MEMALIGN #endif -- cgit v1.3.1