not that it can happen, but make the test more robust.
This commit is contained in:
parent
ec053f73a0
commit
13fa4dc134
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: local.h,v 1.26 2010/10/22 21:29:45 christos Exp $ */
|
||||
/* $NetBSD: local.h,v 1.27 2010/10/22 22:00:32 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990, 1993
|
||||
@ -117,5 +117,5 @@ extern void __funlockfile_internal __P((FILE *, int));
|
||||
/*
|
||||
* Detect if the current file position fits in a long int.
|
||||
*/
|
||||
#define _FPOS_OVERFLOW(pos) (sizeof(fpos_t) != sizeof(long) && \
|
||||
#define _FPOS_OVERFLOW(pos) (sizeof(fpos_t) > sizeof(long) && \
|
||||
((pos) & (~0ULL << ((sizeof(fpos_t) - sizeof(long)) * NBBY))) != 0)
|
||||
|
Loading…
Reference in New Issue
Block a user