diff options
| author | matt <matt@NetBSD.org> | 2001-07-28 05:04:45 +0000 |
|---|---|---|
| committer | matt <matt@NetBSD.org> | 2001-07-28 05:04:45 +0000 |
| commit | f47c5bbd3d4e044e0555f30ccd3deea35da2c875 (patch) | |
| tree | d3451f38e5fa440a5e5870d4ea0792fe05149788 | |
| parent | 888b31fb381336aa65e74f078f1414d27ff09589 (diff) | |
Under ELF, change clock_t and time_t to int's (more LP64 friendly).
| -rw-r--r-- | sys/arch/vax/include/ansi.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/arch/vax/include/ansi.h b/sys/arch/vax/include/ansi.h index 8eb1247153f..c1869523d34 100644 --- a/sys/arch/vax/include/ansi.h +++ b/sys/arch/vax/include/ansi.h @@ -1,4 +1,4 @@ -/* $NetBSD: ansi.h,v 1.13 2001/01/13 03:48:26 matt Exp $ */ +/* $NetBSD: ansi.h,v 1.14 2001/07/28 05:04:45 matt Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. @@ -52,17 +52,19 @@ * * Thanks, ANSI! */ -#define _BSD_CLOCK_T_ unsigned long int /* clock() */ #ifdef __ELF__ +#define _BSD_CLOCK_T_ int /* clock() */ #define _BSD_PTRDIFF_T_ long int /* ptr1 - ptr2 */ #define _BSD_SIZE_T_ unsigned long int /* sizeof() */ #define _BSD_SSIZE_T_ long int /* byte count or error */ +#define _BSD_TIME_T_ int /* time() */ #else +#define _BSD_CLOCK_T_ unsigned long int /* clock() */ #define _BSD_PTRDIFF_T_ int /* ptr1 - ptr2 */ #define _BSD_SIZE_T_ unsigned int /* sizeof() */ #define _BSD_SSIZE_T_ int /* byte count or error */ -#endif #define _BSD_TIME_T_ long /* time() */ +#endif #if __GNUC_PREREQ__(2,96) #define _BSD_VA_LIST_ __builtin_va_list /* va_list */ #else |
