mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-30 12:54:11 +02:00
Added and Moved checks for includes
Moved checks for G_OS_WIN32 after GLib header includes and added other checks required for Windows/MSVC builds
This commit is contained in:
@@ -54,11 +54,6 @@
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#ifndef G_OS_WIN32
|
||||
#include <sys/time.h>
|
||||
#include <time.h>
|
||||
#endif /* !G_OS_WIN32 */
|
||||
|
||||
#include "gdatetime.h"
|
||||
|
||||
#include "gatomic.h"
|
||||
@@ -73,6 +68,11 @@
|
||||
|
||||
#include "glibintl.h"
|
||||
|
||||
#ifndef G_OS_WIN32
|
||||
#include <sys/time.h>
|
||||
#include <time.h>
|
||||
#endif /* !G_OS_WIN32 */
|
||||
|
||||
/**
|
||||
* SECTION:date-time
|
||||
* @title: GDateTime
|
||||
|
Reference in New Issue
Block a user