mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Avoid struct stat issues with MSVC
This commit is contained in:
parent
28b025de96
commit
504b8b8f01
@ -270,7 +270,11 @@ g_io_modules_scan_all_in_directory (const char *dirname)
|
||||
const gchar *name;
|
||||
char *filename;
|
||||
GDir *dir;
|
||||
#ifdef G_OS_WIN32
|
||||
struct _g_stat_struct statbuf;
|
||||
#else
|
||||
struct stat statbuf;
|
||||
#endif
|
||||
char *data;
|
||||
time_t cache_mtime;
|
||||
GHashTable *cache;
|
||||
|
Loading…
Reference in New Issue
Block a user