Created
January 8, 2020 16:22
-
-
Save dalehamel/7e23c9bfa7d405315cc3acdef2d96327 to your computer and use it in GitHub Desktop.
Argp android build diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -Naur argp_sources/gllib/argp.h argp_sources/gllib/argp.h.new | |
--- argp_sources/gllib/argp.h 2019-02-19 20:38:53.000000000 +0000 | |
+++ argp_sources/gllib/argp.h.new 2020-01-08 16:21:42.843277973 +0000 | |
@@ -19,6 +19,17 @@ | |
#ifndef _ARGP_H | |
#define _ARGP_H | |
+#ifndef ARGP_EI | |
+# define ARGP_EI inline | |
+#endif | |
+ | |
+// since ece81a73b64483a68f5157420836d84beb3a1680 argp.h as distributed with | |
+// gnulib requires _GL_INLINE_HEADER_BEGIN macro to be defined. | |
+#ifndef _GL_INLINE_HEADER_BEGIN | |
+# define _GL_INLINE_HEADER_BEGIN | |
+# define _GL_INLINE_HEADER_END | |
+#endif | |
+ | |
#include <stdio.h> | |
#include <ctype.h> | |
#include <getopt.h> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment