From: Jarkko Hietaniemi Date: Fri, 13 Jun 2003 14:12:13 +0000 (+0000) Subject: Define a cpp symbol, BSDish, if that looks appropriate. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=af28e88917ada915d1c6a69f2caccaada3cad842;p=p5sagit%2Fp5-mst-13.2.git Define a cpp symbol, BSDish, if that looks appropriate. p4raw-id: //depot/perl@19763 --- diff --git a/perl.h b/perl.h index f433168..89c683c 100644 --- a/perl.h +++ b/perl.h @@ -79,6 +79,16 @@ /* <--- here ends the logic shared by perl.h and makedef.pl */ +/* + * __APPLE__ for Darwin/MacOSX + * __bsdi__ for BSD/OS + */ +#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__APPLE__) || defined(__bsdi__) || defined(BSD41) || defined(BSD42) || defined(BSD43) || defined(BSD44) +# ifndef BSDish +# define BSDish +# endif +#endif + #ifdef PERL_IMPLICIT_CONTEXT # ifndef MULTIPLICITY # define MULTIPLICITY