Portability fix for argp/argp.h.
Simon Josefsson
jas@extundo.com
Thu Jun 12 10:42:00 GMT 2003
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
More information about the Libc-alpha
mailing list