/* Wrappers for platform timing functions.
- Copyright (C) 2003, 2007, 2009, 2011, 2012 Free Software Foundation, Inc.
+ Copyright (C) 2003-2019 Free Software Foundation, Inc.
This file is part of the GNU Fortran runtime library (libgfortran).
CPU_TIME intrinsics. Returns 0 for success or -1 if no
CPU time could be computed. */
-#ifdef __MINGW32__
+#if defined(__MINGW32__)
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
struct timespec ts;
int err = clock_gettime (CLOCK_PROCESS_CPUTIME_ID, &ts);
*user_sec = ts.tv_sec;
- *user_usecs = ts.tv_nsec / 1000;
+ *user_usec = ts.tv_nsec / 1000;
*system_sec = *system_usec = 0;
return err;