diff options
author | Michael Widenius <monty@askmonty.org> | 2012-03-30 16:00:10 +0300 |
---|---|---|
committer | Michael Widenius <monty@askmonty.org> | 2012-03-30 16:00:10 +0300 |
commit | 3dc35ee493711f084efa682d2c8a3ba6780f6297 (patch) | |
tree | 3278fbdd5321c468a3a59b455a49c87c8f9b1068 /mysys/my_getsystime.c | |
parent | 474ee1eedb9348772d73c24400957d3af01b0f56 (diff) | |
download | mariadb-git-3dc35ee493711f084efa682d2c8a3ba6780f6297.tar.gz |
Compatibility fixes by U Orsini
Diffstat (limited to 'mysys/my_getsystime.c')
-rw-r--r-- | mysys/my_getsystime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/my_getsystime.c b/mysys/my_getsystime.c index 268619a1334..8a3e97cffa7 100644 --- a/mysys/my_getsystime.c +++ b/mysys/my_getsystime.c @@ -124,7 +124,7 @@ void my_time_init() ulonglong my_getcputime() { -#ifdef HAVE_CLOCK_GETTIME +#ifdef CLOCK_THREAD_CPUTIME_ID struct timespec tp; if (clock_gettime(CLOCK_THREAD_CPUTIME_ID, &tp)) return 0; |