pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/libnbcompat/files/nbcompat AIX needs getopt_l...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3dcfee7df85c
branches: trunk
changeset: 464264:3dcfee7df85c
user: erh <erh%pkgsrc.org@localhost>
date: Fri Dec 05 15:42:13 2003 +0000
description:
AIX needs getopt_long.
diffstat:
pkgtools/libnbcompat/files/nbcompat/getopt.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 83512dbfc2c1 -r 3dcfee7df85c pkgtools/libnbcompat/files/nbcompat/getopt.h
--- a/pkgtools/libnbcompat/files/nbcompat/getopt.h Fri Dec 05 15:41:06 2003 +0000
+++ b/pkgtools/libnbcompat/files/nbcompat/getopt.h Fri Dec 05 15:42:13 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: getopt.h,v 1.1 2003/09/05 18:36:07 jlam Exp $ */
+/* $NetBSD: getopt.h,v 1.2 2003/12/05 15:42:13 erh Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -50,7 +50,7 @@
/*
* Gnu like getopt_long() and BSD4.4 getsubopt()/optreset extensions
*/
-#if (!defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE)) || defined(__linux__)
+#if (!defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE)) || defined(__linux__) || defined(_AIX)
#define no_argument 0
#define required_argument 1
#define optional_argument 2
Home |
Main Index |
Thread Index |
Old Index