diff options
Diffstat (limited to 'Build/source/libs/obsdcompat/defines.h')
-rw-r--r-- | Build/source/libs/obsdcompat/defines.h | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/Build/source/libs/obsdcompat/defines.h b/Build/source/libs/obsdcompat/defines.h index 324622e6fd5..71e90193ca7 100644 --- a/Build/source/libs/obsdcompat/defines.h +++ b/Build/source/libs/obsdcompat/defines.h @@ -24,7 +24,7 @@ * --------------------------------------------------------------------------- * * Modified (butchered) 2006 by Martin Schröder for pdfTeX - * + * Modified 2009 by Peter Breitenlohner for new TeX Live build system */ #ifndef _DEFINES_H @@ -33,18 +33,6 @@ /* $Id: defines.h,v 1.130 2005/12/17 11:04:09 dtucker Exp $ */ -/* Constants */ - -#ifndef STDIN_FILENO -# define STDIN_FILENO 0 -#endif -#ifndef STDOUT_FILENO -# define STDOUT_FILENO 1 -#endif -#ifndef STDERR_FILENO -# define STDERR_FILENO 2 -#endif - /* Types */ /* If sys/types.h does not supply intXX_t, supply them ourselves */ @@ -171,14 +159,6 @@ typedef int ssize_t; # define MIN(a,b) (((a)<(b))?(a):(b)) #endif -#ifndef roundup -# define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) -#endif - -#ifndef __P -# define __P(x) x -#endif - #if !defined(__GNUC__) || (__GNUC__ < 2) # define __attribute__(x) #endif /* !defined(__GNUC__) || (__GNUC__ < 2) */ |