Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/include more type protection macro lossage.



details:   https://anonhg.NetBSD.org/src/rev/86d55f41b449
branches:  trunk
changeset: 445956:86d55f41b449
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Nov 18 19:22:23 2018 +0000

description:
more type protection macro lossage.

diffstat:

 include/unistd.h |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (22 lines):

diff -r e2d60dc6da11 -r 86d55f41b449 include/unistd.h
--- a/include/unistd.h  Sun Nov 18 18:58:44 2018 +0000
+++ b/include/unistd.h  Sun Nov 18 19:22:23 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: unistd.h,v 1.150 2018/08/15 10:21:42 martin Exp $      */
+/*     $NetBSD: unistd.h,v 1.151 2018/11/18 19:22:23 christos Exp $    */
 
 /*-
  * Copyright (c) 1998, 1999, 2008 The NetBSD Foundation, Inc.
@@ -244,9 +244,9 @@
  */
 #if (defined(_XOPEN_SOURCE) && defined(_XOPEN_SOURCE_EXTENDED)) || \
     (_XOPEN_SOURCE - 0) >= 500 || defined(_NETBSD_SOURCE)
-#ifndef        intptr_t
-typedef        __intptr_t      intptr_t;
-#define        intptr_t        __intptr_t
+#ifndef _BSD_INTPTR_T_
+typedef __intptr_t      intptr_t;
+#define _BSD_INTPTR_T_
 #endif
 
 #define F_ULOCK                0



Home | Main Index | Thread Index | Old Index