mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-20 23:58:54 +02:00
Avoid struct stat issues with MSVC
This commit is contained in:
@@ -270,7 +270,11 @@ g_io_modules_scan_all_in_directory (const char *dirname)
|
|||||||
const gchar *name;
|
const gchar *name;
|
||||||
char *filename;
|
char *filename;
|
||||||
GDir *dir;
|
GDir *dir;
|
||||||
|
#ifdef G_OS_WIN32
|
||||||
|
struct _g_stat_struct statbuf;
|
||||||
|
#else
|
||||||
struct stat statbuf;
|
struct stat statbuf;
|
||||||
|
#endif
|
||||||
char *data;
|
char *data;
|
||||||
time_t cache_mtime;
|
time_t cache_mtime;
|
||||||
GHashTable *cache;
|
GHashTable *cache;
|
||||||
|
Reference in New Issue
Block a user