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:
Chun-wei Fan
2010-11-09 09:53:12 +08:00
parent 4a012a9754
commit 9806040455
4 changed files with 85 additions and 28 deletions

View File

@@ -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