This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Portability fix for argp/argp.h.
- From: Simon Josefsson <jas at extundo dot com>
- To: libc-alpha at sources dot redhat dot com
- Date: Thu, 12 Jun 2003 12:41:57 +0200
- Subject: Portability fix for argp/argp.h.
Improves building standalone argp (see different thread).
2003-06-12 Simon Josefsson <jas@extundo.com>
* argp/argp.h [!__THROW]: Define if undefined.
Index: argp.h
===================================================================
RCS file: /cvs/glibc/libc/argp/argp.h,v
retrieving revision 1.24
diff -u -p -u -w -r1.24 argp.h
--- argp.h 1 Mar 2003 01:09:50 -0000 1.24
+++ argp.h 12 Jun 2003 10:40:55 -0000
@@ -28,6 +28,10 @@
#define __need_error_t
#include <errno.h>
+#ifndef __THROW
+# define __THROW
+#endif
+
#ifndef __const
# define __const const
#endif