[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pdf-devel] Compiling on OS X
From: |
jemarch |
Subject: |
Re: [pdf-devel] Compiling on OS X |
Date: |
Sun, 15 Nov 2009 12:30:31 +0100 |
User-agent: |
Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/23.0.92 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
Hi Chris.
The header file sys/statfs.h doesn't exist on the system. The statfs
struct is defined in /usr/include/sys/mount.h, but I'm not sure what I
need to configure differently in order for the correct header file to
be included. Any help that anyone can offer is appreciated.
I guess that we should define PDF_HOST_BSD if compiling in macosx (it
is a bsd-like system). Can you please check that it is compiling
properly when including sys/param.h and sys/mount.h instead of
sys/statfs.h?
I simplified a bit the preprocessor sentences in pdf-fsys-disk.c to
not use a pasive expression. Now it reads:
#if defined(PDF_HOST_WIN32) || defined(PDF_HOST_BSD)
# include <sys/param.h>
# include <sys/mount.h>
#else
# include <sys/statfs.h>
#endif /* PDF_HOST_WIN32 | PDF_HOST_BSD */
--
Jose E. Marchesi address@hidden
GNU Project http://www.gnu.org