This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]