From f47c5bbd3d4e044e0555f30ccd3deea35da2c875 Mon Sep 17 00:00:00 2001 From: matt Date: Sat, 28 Jul 2001 05:04:45 +0000 Subject: Under ELF, change clock_t and time_t to int's (more LP64 friendly). --- sys/arch/vax/include/ansi.h | 8 +++++--- 1 file 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 -- cgit