diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2010-07-16 13:09:56 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2010-07-16 13:09:56 +0300 |
commit | bc70de7b3302d5a81515b901cae376b8b51d2004 (patch) | |
tree | d36d6743e65697f6923b79d0ea8f9f9bf4ef7398 /custom.h | |
parent | b9e4a1fd4c8c8753ab8a9887bab55f03efe1e3e2 (diff) | |
download | egawk-bc70de7b3302d5a81515b901cae376b8b51d2004.tar.gz egawk-bc70de7b3302d5a81515b901cae376b8b51d2004.tar.bz2 egawk-bc70de7b3302d5a81515b901cae376b8b51d2004.zip |
Move to gawk-3.1.0.
Diffstat (limited to 'custom.h')
-rw-r--r-- | custom.h | 33 |
1 files changed, 27 insertions, 6 deletions
@@ -11,7 +11,7 @@ */ /* - * Copyright (C) 1995-2000 the Free Software Foundation, Inc. + * Copyright (C) 1995-2001 the Free Software Foundation, Inc. * * This file is part of GAWK, the GNU implementation of the * AWK Programming Language. @@ -53,14 +53,35 @@ #define fork vfork #endif -/* For sequent, based on email with Aron Griffis <agriffis@calypso.coat.com> */ -#ifdef _SEQUENT_ -#undef HAVE_MMAP -#endif - /* For BeOS, from mc@whoever.com */ #if defined(__dest_os) && __dest_os == __be_os #define BROKEN_STRNCASECMP #define ELIDE_CODE #include <alloca.h> #endif + +/* For Tandems, based on code from scldad@sdc.com.au */ +#ifdef TANDEM +#define tempnam(a,b) tmpnam(NULL) +#define variable(a,b,c) variabl(a,b,c) +#define srandom srand +#define random rand + +#include <cextdecs(PROCESS_GETINFO_)> +#endif + +/* For 16-bit DOS */ +#if defined(MSC_VER) && defined(MSDOS) +#define NO_PROFILING 1 +#endif + +/* For MacOS X, which is almost BSD Unix */ +#ifdef __APPLE__ +#define HAVE_MKTIME 1 +#endif + +/* For ULTRIX 4.3 */ +#ifdef ultrix +#define HAVE_MKTIME 1 +#endif + |