[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Symbol 'hz' already defined on AIX
From: |
Jens Rehsack |
Subject: |
Symbol 'hz' already defined on AIX |
Date: |
Mon, 23 Mar 2009 09:18:50 +0000 |
User-agent: |
Thunderbird 2.0.0.21 (X11/20090321) |
Hi,
I'm using pkgsrc to get a consistent sw-state on AIX, Linux and (in near
future) Interix. So I need to build texinfo (version in pkgsrc is 4.12) on
AIX, because it hasn't an own one. This results in a build error (I don't
have the log anymore - it's a long time ago and I missed write this mail),
because 'hz' is already defined (it's a numeric constant).
I created a simple patch which works for me (attached).
If you have any questions, don't hesitate to contact me.
Best regards,
Jens
--- makeinfo/lang.h.orig 2008-08-20 13:57:14.000000000 +0200
+++ makeinfo/lang.h 2008-08-20 14:00:48.000000000 +0200
@@ -26,6 +26,11 @@
* Actually we don't currently support this (may be in the future) ;-)
* These code are the ISO-639 two letter codes.
*/
+#ifdef _AIX
+#ifdef hz
+#undef hz
+#endif
+#endif
typedef enum
{
aa, ab, ae, af, ak, am, an, ar, as, av, ay, az, ba, be, bg, bh, bi,
- Symbol 'hz' already defined on AIX,
Jens Rehsack <=