simplify __timeb64 condition
[fdkaac.git] / src / compat_win32.c
index d65ea5032bd0b7ffd1c0a7a8b4a8abecc8b55d7f..4e3776c06841beff6d54eae4a49d13769a5ec3d1 100644 (file)
@@ -31,8 +31,13 @@ int __wgetmainargs(int *, wchar_t ***, wchar_t ***, int, _startupinfo *);
 
 int64_t aacenc_timer(void)
 {
+#if HAVE_STRUCT___TIMEB64
     struct __timeb64 tv;
     _ftime64(&tv);
+#else
+    struct timeb tv;
+    ftime(&tv);
+#endif
     return (int64_t)tv.time * 1000 + tv.millitm;
 }
 
This page took 0.009217 seconds and 4 git commands to generate.