Merge pull request #5382 from kumpera/pedump_fix
[mono.git] / mono / utils / mono-time.c
index 06f9f217b88cf6ce3a51b9fe65182ae38f182995..4a3b2705563e98068832db9c688e5267af79f0d6 100644 (file)
@@ -1,4 +1,5 @@
-/*
+/**
+ * \file
  * Time utility functions.
  * Author: Paolo Molaro (<lupus@ximian.com>)
  * Copyright (C) 2008 Novell, Inc.
@@ -83,7 +84,7 @@ mono_100ns_datetime (void)
 #include <sys/sysctl.h>
 #endif
 
-#if defined(PLATFORM_MACOSX)
+#if defined(HOST_DARWIN)
 #include <mach/mach.h>
 #include <mach/mach_time.h>
 #endif
@@ -142,7 +143,7 @@ gint64
 mono_100ns_ticks (void)
 {
        struct timeval tv;
-#if defined(PLATFORM_MACOSX)
+#if defined(HOST_DARWIN)
        /* http://developer.apple.com/library/mac/#qa/qa1398/_index.html */
        static mach_timebase_info_data_t timebase;
        guint64 now = mach_absolute_time ();