sh.h (69408) | sh.h (83098) |
---|---|
1/* $Header: /src/pub/tcsh/sh.h,v 3.93 2000/11/19 20:50:43 christos Exp $ */ | 1/* $Header: /src/pub/tcsh/sh.h,v 3.96 2001/03/18 19:06:29 christos Exp $ */ |
2/* 3 * sh.h: Catch it all globals and includes file! 4 */ 5/*- 6 * Copyright (c) 1980, 1991 The Regents of the University of California. 7 * All rights reserved. 8 * 9 * Redistribution and use in source and binary forms, with or without --- 174 unchanged lines hidden (view full) --- 184#ifndef PATHSEP 185# if defined(__EMX__) || defined(WINNT_NATIVE) 186# define PATHSEP ';' 187# else /* unix */ 188# define PATHSEP ':' 189# endif /* __EMX__ || WINNT_NATIVE */ 190#endif /* !PATHSEP */ 191 | 2/* 3 * sh.h: Catch it all globals and includes file! 4 */ 5/*- 6 * Copyright (c) 1980, 1991 The Regents of the University of California. 7 * All rights reserved. 8 * 9 * Redistribution and use in source and binary forms, with or without --- 174 unchanged lines hidden (view full) --- 184#ifndef PATHSEP 185# if defined(__EMX__) || defined(WINNT_NATIVE) 186# define PATHSEP ';' 187# else /* unix */ 188# define PATHSEP ':' 189# endif /* __EMX__ || WINNT_NATIVE */ 190#endif /* !PATHSEP */ 191 |
192#ifdef __HP_CXD_SPP | 192#if defined(__HP_CXD_SPP) && !defined(__hpux) |
193# include <sys/cnx_stat.h> 194# define stat stat64 195# define fstat fstat64 196# define lstat lstat64 | 193# include <sys/cnx_stat.h> 194# define stat stat64 195# define fstat fstat64 196# define lstat lstat64 |
197#endif /* __HP_CXD_SPP */ | 197#endif /* __HP_CXD_SPP && !__hpux */ |
198 199/* 200 * This macro compares the st_dev field of struct stat. On aix on ibmESA 201 * st_dev is a structure, so comparison does not work. 202 */ 203#ifndef DEV_DEV_COMPARE 204# define DEV_DEV_COMPARE(x,y) ((x) == (y)) 205#endif /* DEV_DEV_COMPARE */ --- 86 unchanged lines hidden (view full) --- 292# undef malloc 293# undef free 294# undef calloc 295# undef realloc 296# endif /* linux || sgi */ 297# include <limits.h> 298#endif /* POSIX && !WINNT_NATIVE */ 299 | 198 199/* 200 * This macro compares the st_dev field of struct stat. On aix on ibmESA 201 * st_dev is a structure, so comparison does not work. 202 */ 203#ifndef DEV_DEV_COMPARE 204# define DEV_DEV_COMPARE(x,y) ((x) == (y)) 205#endif /* DEV_DEV_COMPARE */ --- 86 unchanged lines hidden (view full) --- 292# undef malloc 293# undef free 294# undef calloc 295# undef realloc 296# endif /* linux || sgi */ 297# include <limits.h> 298#endif /* POSIX && !WINNT_NATIVE */ 299 |
300#if SYSVREL > 0 || defined(_IBMR2) || defined(_MINIX) | 300#if SYSVREL > 0 || defined(_IBMR2) || defined(_MINIX) || defined(linux) |
301# if !defined(pyr) && !defined(stellar) 302# include <time.h> 303# ifdef _MINIX 304# define HZ CLOCKS_PER_SEC 305# endif /* _MINIX */ 306# endif /* !pyr && !stellar */ 307#endif /* SYSVREL > 0 || _IBMR2 */ 308 --- 230 unchanged lines hidden (view full) --- 539#ifdef REMOTEHOST 540# include <netdb.h> 541#endif /* REMOTEHOST */ 542 543#ifndef MAXHOSTNAMELEN 544# if defined(SCO) && (SYSVREL > 3) 545# include <sys/socket.h> 546# else | 301# if !defined(pyr) && !defined(stellar) 302# include <time.h> 303# ifdef _MINIX 304# define HZ CLOCKS_PER_SEC 305# endif /* _MINIX */ 306# endif /* !pyr && !stellar */ 307#endif /* SYSVREL > 0 || _IBMR2 */ 308 --- 230 unchanged lines hidden (view full) --- 539#ifdef REMOTEHOST 540# include <netdb.h> 541#endif /* REMOTEHOST */ 542 543#ifndef MAXHOSTNAMELEN 544# if defined(SCO) && (SYSVREL > 3) 545# include <sys/socket.h> 546# else |
547# define MAXHOSTNAMELEN 255 | 547# define MAXHOSTNAMELEN 256 |
548# endif 549#endif /* MAXHOSTNAMELEN */ 550 551 552 553#define eq(a, b) (Strcmp(a, b) == 0) 554 555/* globone() flags */ --- 689 unchanged lines hidden --- | 548# endif 549#endif /* MAXHOSTNAMELEN */ 550 551 552 553#define eq(a, b) (Strcmp(a, b) == 0) 554 555/* globone() flags */ --- 689 unchanged lines hidden --- |