summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2015-02-09 13:39:16 +0000
committertedu <tedu@openbsd.org>2015-02-09 13:39:16 +0000
commitf536ba8fee308800b20a5cdb50a2f8424189039a (patch)
tree36f1835799cb995bd780b81000c1c0ea1e24be71 /lib/libc
parentyou need atomic.h to do atomic things. (diff)
downloadwireguard-openbsd-f536ba8fee308800b20a5cdb50a2f8424189039a.tar.xz
wireguard-openbsd-f536ba8fee308800b20a5cdb50a2f8424189039a.zip
unifdef have gettext. don't have it, won't have it.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/time/private.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/libc/time/private.h b/lib/libc/time/private.h
index 35176671d28..411ad303f10 100644
--- a/lib/libc/time/private.h
+++ b/lib/libc/time/private.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: private.h,v 1.30 2015/02/09 13:27:36 tedu Exp $ */
+/* $OpenBSD: private.h,v 1.31 2015/02/09 13:39:16 tedu Exp $ */
#ifndef PRIVATE_H
#define PRIVATE_H
@@ -29,8 +29,6 @@
#define HAVE_ADJTIME 1
-#define HAVE_GETTEXT 0
-
#define HAVE_SETTIMEOFDAY 3
#define HAVE_SYMLINK 1
@@ -55,9 +53,6 @@
#include <time.h>
#include <stdlib.h>
-#if HAVE_GETTEXT
-#include "libintl.h"
-#endif /* HAVE_GETTEXT */
#include <sys/wait.h> /* for WIFEXITED and WEXITSTATUS */
@@ -156,11 +151,7 @@ const char * scheck(const char * string, const char * format);
*/
#ifndef _
-#if HAVE_GETTEXT
-#define _(msgid) gettext(msgid)
-#else /* !HAVE_GETTEXT */
#define _(msgid) msgid
-#endif /* !HAVE_GETTEXT */
#endif /* !defined _ */
#ifndef TZ_DOMAIN