Similarly, I'm seeing this error in C++ mode on mingw:
../gllib/unistd.h:1042: error: `getpagesize' was not declared in this scope
This fixes it:
2010-04-03 Bruno Haible
getpagesize: Fix C++ test error on mingw.
* lib/unistd.in.h (getpagesize): Don't use _GL_CXXALIASWARN i
Hi Sam,
> where is the prototype for the replacement getpagesize()?
It is in the generated file.
> it would make sense to include unistd.h, but it is not generated on win32.
It should be generated on all platforms. modules/unistd contains the
line
BUILT_SOURCES += unistd.h
which instructs
Hi,
updating gnulib files in clisp pulled in getpagesize.m4 and getpagesize.m4,
so I decided to use them instead of the traditional clisp code.
my question is: where is the prototype for the replacement getpagesize()?
it would make sense to include unistd.h, but it is not generated on win32.
also,