pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/libnbcompat/files On AIX h_errno is a functio...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/83512dbfc2c1
branches:  trunk
changeset: 464263:83512dbfc2c1
user:      erh <erh%pkgsrc.org@localhost>
date:      Fri Dec 05 15:41:06 2003 +0000

description:
On AIX h_errno is a function call.  Don't try to redefine it.

diffstat:

 pkgtools/libnbcompat/files/nbcompat.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 9c5707a66ba0 -r 83512dbfc2c1 pkgtools/libnbcompat/files/nbcompat.h
--- a/pkgtools/libnbcompat/files/nbcompat.h     Fri Dec 05 15:16:34 2003 +0000
+++ b/pkgtools/libnbcompat/files/nbcompat.h     Fri Dec 05 15:41:06 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nbcompat.h,v 1.26 2003/10/10 10:15:09 grant Exp $      */
+/*     $NetBSD: nbcompat.h,v 1.27 2003/12/05 15:41:06 erh Exp $        */
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -381,8 +381,10 @@
 #endif
 
 #if !HAVE_H_ERRNO_D
+#ifndef _AIX
 extern int     h_errno;
 #endif
+#endif
 #define HAVE_H_ERRNO   1               /* XXX: an assumption for now... */
 
 #if !HAVE_FCLOSE_D



Home | Main Index | Thread Index | Old Index