[Xfc-dev] ANNOUNCE: XFC 4.3.1
Brian J. Tarricone
bjt23 at cornell.edu
Fri Jun 3 23:40:28 CEST 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jeff Franks wrote:
> Daichi Kawahata wrote:
>
>
>>[snip]
>>
>>Here it is.
>>
>>Regards,
>>
>>
>>------------------------------------------------------------------------
>>
>>Index: tests/glade/example-3/example-3.cc
>>===================================================================
>>--- tests/glade/example-3/example-3.cc (revision 15838)
>>+++ tests/glade/example-3/example-3.cc (working copy)
>>@@ -9,6 +9,7 @@
>>#include "example-3.hh"
>>#include <xfc/gtk/label.hh>
>>#include <xfc/glib/main.hh>
>>+#include <unistd.h>
>>#include <iostream>
>>
>>OptionWindow::OptionWindow(CObjectType *object, const Glade::Xml& xml)
>>
>>
>>
>
>
> What about mainloop.c. Since you sent me the original patch long ago for
> this file I had a "two" hard disk crash thanks to trying out Ark Linux,
> and I lost everything, including you patch. Does the following include work:
>
> #ifdef G_OS_UNIX
> #include <unistd.h>
> #endif
>
> or should it be
>
> #ifdef HAVE_UNISTD
> #include <unistd.h>
> #endif
If you're using the standard AC_CHECK_HEADERS() macro in configure.ac,
it should actually be HAVE_UNISTD_H. There's really no reason to check
against G_OS_UNIX; including it on another platform when it isn't needed
shouldn't hurt.
-brian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
iD8DBQFCoM5M6XyW6VEeAnsRAsmtAKCfOeX6AFTlSDZsawa/TokUts3cZwCg7nwm
BMph76F00oL2oRjViaBlalo=
=rSU0
-----END PGP SIGNATURE-----
More information about the Xfc-dev
mailing list