bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pathmax: support for native Windows


From: Bruno Haible
Subject: Re: pathmax: support for native Windows
Date: Tue, 13 Sep 2011 13:08:24 +0200
User-agent: KMail/1.13.6 (Linux/2.6.37.6-0.5-desktop; KDE/4.6.0; x86_64; ; )

Another PATH_MAX related compilation failure on MSVC occurs in lib/stat.c:

stat.c(76) : fatal error C1189: #error :  "Please port this replacement to your 
platform"
make[4]: *** [stat.obj] Error 2

This fixes it.


2011-09-13  Bruno Haible  <address@hidden>

        stat: Support for MSVC.
        * lib/stat.c: Include pathmax.h.
        * modules/stat (Depends-on): Add pathmax.

--- lib/stat.c.orig     Tue Sep 13 13:05:06 2011
+++ lib/stat.c  Tue Sep 13 12:44:43 2011
@@ -44,6 +44,7 @@
 #include <stdbool.h>
 #include <string.h>
 #include "dosname.h"
+#include "pathmax.h"
 #include "verify.h"
 
 /* Store information about NAME into ST.  Work around bugs with
--- modules/stat.orig   Tue Sep 13 13:05:06 2011
+++ modules/stat        Tue Sep 13 12:45:11 2011
@@ -9,6 +9,7 @@
 sys_stat
 largefile
 dosname         [test $REPLACE_STAT = 1]
+pathmax         [test $REPLACE_STAT = 1]
 stdbool         [test $REPLACE_STAT = 1]
 verify          [test $REPLACE_STAT = 1]
 
-- 
In memoriam Ketevan of Mukhrani 
<http://en.wikipedia.org/wiki/Ketevan_of_Mukhrani>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]