Unknown symbol in 'gio/gresource.c'
- From: John Emmas <johne53 tiscali co uk>
- To: Gtk+ Developers <gtk-devel-list gnome org>
- Subject: Unknown symbol in 'gio/gresource.c'
- Date: Mon, 02 May 2016 12:36:33 +0100
I just hit a problem when building from git master with MSVC (32-bit 
build).  It's in 'gio/gresource.c' at line 254 in the function 
'enumerate_overlay_dir()':-
      if (g_stat (fullname, &buf) == 0 && S_ISDIR (buf.st_mode))
'S_ISDIR' is coming up as an unknown symbol.  In other places where we 
use S_ISDIR we usually have something like this near the top of the file:-
      #ifdef G_OS_WIN32
      #include <io.h>
      #ifndef S_ISDIR
      #define S_ISDIR(m) (((m) & _S_IFMT) == _S_IFDIR)
      #endif
      #endif
and if I add that near the top of 'gio/gresource.c' it fixes the 
problem.  Just passing it upstream.  Regards,
John
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]