Windows does not define S_IFBLK since it doesn't have block devices
static guint
gst_plugin_ext_dep_get_hash_from_stat_entry (GStatBuf * s)
{
static guint
gst_plugin_ext_dep_get_hash_from_stat_entry (GStatBuf * s)
{
if (!(s->st_mode & (S_IFDIR | S_IFREG | S_IFBLK | S_IFCHR)))
if (!(s->st_mode & (S_IFDIR | S_IFREG | S_IFBLK | S_IFCHR)))
+#else
+ /* MSVC does not have S_IFBLK */
+ if (!(s->st_mode & (S_IFDIR | S_IFREG | S_IFCHR)))
+#endif
return (guint) - 1;
/* completely random formula */
return (guint) - 1;
/* completely random formula */