diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2014-10-18 16:48:29 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2014-10-18 16:48:29 +0000 |
commit | 8c14fbc218e1c7aecf034bdd88d9c142b0b6e60f (patch) | |
tree | 1b3b3fc7bf937c08c9d1e1379ce41c92612860e4 /lib/libevent/evutil.c | |
parent | a0e6c9dbe5d8e534cd792f28a4964406f89e3729 (diff) |
Remove the remaining #ifdef HAVE_ and the #define _GNU_SOURCE.
OK nicm@
Diffstat (limited to 'lib/libevent/evutil.c')
-rw-r--r-- | lib/libevent/evutil.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/libevent/evutil.c b/lib/libevent/evutil.c index 131da2d459e..4fd3a06baa1 100644 --- a/lib/libevent/evutil.c +++ b/lib/libevent/evutil.c @@ -1,4 +1,4 @@ -/* $OpenBSD: evutil.c,v 1.7 2014/10/17 20:52:59 bluhm Exp $ */ +/* $OpenBSD: evutil.c,v 1.8 2014/10/18 16:48:28 bluhm Exp $ */ /* * Copyright (c) 2007 Niels Provos <provos@citi.umich.edu> @@ -68,13 +68,7 @@ evutil_make_socket_nonblocking(int fd) ev_int64_t evutil_strtoll(const char *s, char **endptr, int base) { -#ifdef HAVE_STRTOLL return (ev_int64_t)strtoll(s, endptr, base); -#elif SIZEOF_LONG == 8 - return (ev_int64_t)strtol(s, endptr, base); -#else -#error "I don't know how to parse 64-bit integers." -#endif } int |