From 6f3612539c425da2bc1d34db621696e6a273b01c Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Thu, 18 Nov 2010 23:00:31 +0200 Subject: Bring latest byte code gawk into git. Hurray! --- custom.h | 37 +++++-------------------------------- 1 file changed, 5 insertions(+), 32 deletions(-) (limited to 'custom.h') diff --git a/custom.h b/custom.h index 12db4781..671f8a4b 100644 --- a/custom.h +++ b/custom.h @@ -48,43 +48,11 @@ #define GETPGRP_VOID 1 #endif -/* For Amigas, from Fred Fish, fnf@ninemoons.com */ -#ifdef __amigaos__ -#define fork vfork -#endif - -/* For BeOS, from mc@whoever.com */ -#if defined(__dest_os) && __dest_os == __be_os -#define BROKEN_STRNCASECMP -#define ELIDE_CODE -#include -#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 -#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 -#ifdef __WIN32__ -#undef HAVE_STRFTIME -/* #define system(s) os_system(s) */ -#endif - /* For ULTRIX 4.3 */ #ifdef ultrix #define HAVE_MKTIME 1 @@ -106,4 +74,9 @@ /* For z/OS, from Dave Pitts */ #ifdef ZOS_USS #undef HAVE_DLFCN_H +#undef HAVE_SETENV +#define setenv zos_setenv +#define unsetenv zos_unsetenv +extern int setenv(const char *name, const char *value, int rewrite); +extern int unsetenv(const char *name); #endif -- cgit v1.2.3