summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2017-10-29 11:34:47 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2017-10-29 12:12:55 -0400
commit6e87da71955dffcd66d8f99a1f20bf79523c8563 (patch)
tree6cc1da61f4d164d0d75303ce3da30f0681ba2b91
parentf97f2e359c0775d462f1f6a40983eb70db30b129 (diff)
downloadlighttpd-git-6e87da71955dffcd66d8f99a1f20bf79523c8563.tar.gz
[core] cleanup unused ifndef
-rw-r--r--src/base.h4
-rw-r--r--src/mod_accesslog.c4
2 files changed, 0 insertions, 8 deletions
diff --git a/src/base.h b/src/base.h
index c6c88c23..87b9526b 100644
--- a/src/base.h
+++ b/src/base.h
@@ -33,10 +33,6 @@ struct stat_cache; /* declaration */
# define O_BINARY 0
#endif
-#ifndef O_LARGEFILE
-# define O_LARGEFILE 0
-#endif
-
#ifndef SIZE_MAX
# ifdef SIZE_T_MAX
# define SIZE_MAX SIZE_T_MAX
diff --git a/src/mod_accesslog.c b/src/mod_accesslog.c
index 3e6773ce..3fc1503a 100644
--- a/src/mod_accesslog.c
+++ b/src/mod_accesslog.c
@@ -645,10 +645,6 @@ SETDEFAULTS_FUNC(log_access_open) {
return HANDLER_GO_ON;
}
-#ifndef O_LARGEFILE
-#define O_LARGEFILE 0
-#endif
-
static void log_access_flush(server *srv, void *p_d) {
plugin_data *p = p_d;
size_t i;