Don't define _LP64 here.

This commit is contained in:
thorpej 2002-05-03 17:56:29 +00:00
parent 9cbd451a98
commit 8606fff875
1 changed files with 1 additions and 8 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: limits.h,v 1.8 2000/08/08 22:31:14 tshiozak Exp $ */
/* $NetBSD: limits.h,v 1.9 2002/05/03 17:56:29 thorpej Exp $ */
/*
* Copyright (c) 1988 The Regents of the University of California.
@ -56,13 +56,6 @@
#define INT_MAX 0x7fffffff /* max value for an int */
#define INT_MIN (-0x7fffffff-1) /* min value for an int */
/* Make sure _LP64 is defined if we have a 64-bit compiler */
#if __arch64__||__sparcv9__
#ifndef _LP64
#define _LP64
#endif
#endif
#ifdef __arch64__
#define ULONG_MAX 0xffffffffffffffffUL /* max value for an unsigned long */
#define LONG_MAX 0x7fffffffffffffffL /* max value for a long */