Compile problem when getc_unlocked() is not available

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

 



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

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux