bug-gnulib
[Top][All Lists]
Advanced

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

[PATCH 1/3] argp: port to PGI 16.10


From: Paul Eggert
Subject: [PATCH 1/3] argp: port to PGI 16.10
Date: Tue, 14 Feb 2017 08:52:16 -0800

* lib/argp-pin.c (dummy): Declare as needed to make file nonempty.
---
 ChangeLog      | 5 +++++
 lib/argp-pin.c | 7 +++++++
 2 files changed, 12 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 9e4337a..bb5e75c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-02-14  Paul Eggert  <address@hidden>
+
+       argp: port to PGI 16.10
+       * lib/argp-pin.c (dummy): Declare as needed to make file nonempty.
+
 2017-02-13  Darshit Shah  <address@hidden>
 
        unicase: Update function protoype to match definition.
diff --git a/lib/argp-pin.c b/lib/argp-pin.c
index 261191f..64d831d 100644
--- a/lib/argp-pin.c
+++ b/lib/argp-pin.c
@@ -24,3 +24,10 @@ char *program_invocation_short_name = 0;
 #ifndef HAVE_PROGRAM_INVOCATION_NAME
 char *program_invocation_name = 0;
 #endif
+
+#if (defined HAVE_PROGRAM_INVOCATION_SHORT_NAME \
+     && defined HAVE_PROGRAM_INVOCATION_NAME)
+/* This declaration is solely to ensure that after preprocessing
+   this file is never empty.  */
+typedef int dummy;
+#endif
-- 
2.9.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]