[glib/glib-2-52] GetTickCount64 is a __stdcall function



commit 3245eba169c439180cc13ed3c76f47298d723031
Author: Руслан Ижбулатов <lrn1986 gmail com>
Date:   Fri Apr 14 07:29:05 2017 +0000

    GetTickCount64 is a __stdcall function
    
    https://bugzilla.gnome.org/show_bug.cgi?id=781301

 glib/gmain.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glib/gmain.c b/glib/gmain.c
index 7a5ec1f..27c0234 100644
--- a/glib/gmain.c
+++ b/glib/gmain.c
@@ -2680,7 +2680,7 @@ g_get_real_time (void)
  * Since: 2.28
  **/
 #if defined (G_OS_WIN32)
-static ULONGLONG (*g_GetTickCount64) (void) = NULL;
+static ULONGLONG (WINAPI *g_GetTickCount64) (void) = NULL;
 static guint32 g_win32_tick_epoch = 0;
 
 void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]