Ticket #2235: gtk2-getc_unlocked-darwin6.patch

File gtk2-getc_unlocked-darwin6.patch, 301 bytes (added by namely_void@…, 20 years ago)

patch to make gtk2 build on darwin 6

  • gtk/xdgmime/xdgmimemagic.c

    old new  
    4444#define TRUE    (!FALSE)
    4545#endif
    4646
     47#ifndef HAVE_FLOCKFILE
     48#define getc_unlocked getc
     49#endif
     50
    4751extern int errno;
    4852
    4953typedef struct XdgMimeMagicMatch XdgMimeMagicMatch;