Abdelrazak Younes wrote:
> Peter Kümmel wrote:
>> then we don't have to port intl.

Done.

At least compiling without iconv
and with some dummy paths.

> I am afraid we have to :-(
No reason to be afraid. ;)



Here the changes:

config.h:

#if defined(MAKE_INTL_LIB) && defined(_MSC_VER)
#define __attribute__(x)
#define inline
#define uintmax_t UINT_MAX
#endif

or as command line macros.

and

Index: os2compat.c
===================================================================
--- os2compat.c (Revision 13976)
+++ os2compat.c (Arbeitskopie)
@@ -23,7 +23,12 @@

 #include <stdlib.h>
 #include <string.h>
+
+#ifndef _MSC_VER
 #include <sys/param.h>
+#else
+#define MAXPATHLEN (260 - 1 )
+#endif


But couldn't we just drop this os2 file in our makefiles?

Peter

Reply via email to