diff options
| author | drochner <drochner@NetBSD.org> | 2008-04-01 19:23:28 +0000 |
|---|---|---|
| committer | drochner <drochner@NetBSD.org> | 2008-04-01 19:23:28 +0000 |
| commit | 7cc98087b6344bf4e24bc4d21177d7a2f8426250 (patch) | |
| tree | 1ab8c662db2639275f7c263ac979eb0c5576515e /include/stdlib.h | |
| parent | ba327d43014357adb0224b11662b123ddb1dbdfe (diff) | |
everyone else assumes that defining "_XOPEN_SOURCE" means XPG4.2,
so remove comparisions against the numerical values "3" or "4"
Diffstat (limited to 'include/stdlib.h')
| -rw-r--r-- | include/stdlib.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/stdlib.h b/include/stdlib.h index 70862e4c7de..2ba9c2c9f1e 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -1,4 +1,4 @@ -/* $NetBSD: stdlib.h,v 1.82 2008/02/28 16:13:35 christos Exp $ */ +/* $NetBSD: stdlib.h,v 1.83 2008/04/01 19:23:28 drochner Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -148,7 +148,7 @@ int rand_r(unsigned int *); /* * X/Open Portability Guide >= Issue 4 */ -#if (_XOPEN_SOURCE - 0) >= 4 || defined(_NETBSD_SOURCE) +#if defined(_XOPEN_SOURCE) || defined(_NETBSD_SOURCE) double drand48(void); double erand48(unsigned short[3]); long jrand48(unsigned short[3]); |
