Compile problem when getc_unlocked() is not available
- From: Julien Dubreuille <julien dubreuille m4x org>
- To: gtk-list gnome org
- Cc: Julien Dubreuille <julien dubreuille m4x org>
- Subject: Compile problem when getc_unlocked() is not available
- Date: Sun, 6 Jun 2004 13:57:17 +0200
Dear GTK gurus,
I ran into a problem when trying to compile GTK+2.4.2 on MacOSX 10.2.8.
The root cause is that getc_unlocked() is not available on my system,
and this is not correctly handled in xdgmimemagic.c.
As a temporary solution, I have added the following to
gtk/xdgmime/xdgmimemagic.c:
#ifndef HAVE_FLOCKFILE
#define getc_unlocked(f) getc(f)
#endif
Regards,
Julien
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]