aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/adjtime.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/adjtime.c b/sysdeps/unix/sysv/linux/adjtime.c
index 7e8d90b71e..c294ecd6b0 100644
--- a/sysdeps/unix/sysv/linux/adjtime.c
+++ b/sysdeps/unix/sysv/linux/adjtime.c
@@ -41,6 +41,7 @@
#endif
#ifndef ADJTIMEX
+#define NO_LOCAL_ADJTIME
#define ADJTIMEX(x) __adjtimex (x)
#endif
@@ -91,6 +92,6 @@ ADJTIME (itv, otv)
return 0;
}
-#ifndef ADJTIME
+#ifdef NO_LOCAL_ADJTIME
weak_alias (__adjtime, adjtime)
#endif