summaryrefslogtreecommitdiff
path: root/src/response.c
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2021-07-02 02:47:55 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2023-05-03 23:11:34 -0400
commit5e5ba0408a24e6e1389e5c542839fe4e3e160a39 (patch)
treea63c0045843d7c81f98c31d7246076165300a9b1 /src/response.c
parent79752c5ffe45734261ec49f1d3537a95fe5b1895 (diff)
downloadlighttpd-git-5e5ba0408a24e6e1389e5c542839fe4e3e160a39.tar.gz
[core] _WIN32 rename __WIN32 to _WIN32
Diffstat (limited to 'src/response.c')
-rw-r--r--src/response.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/response.c b/src/response.c
index f2f0d3dd..8b09550b 100644
--- a/src/response.c
+++ b/src/response.c
@@ -460,7 +460,7 @@ http_response_prepare (request_st * const r)
/* transform r->uri.path to r->physical.rel_path (relative file path) */
buffer_copy_buffer(&r->physical.rel_path, &r->uri.path);
-#if defined(__WIN32) || defined(__CYGWIN__)
+#if defined(_WIN32) || defined(__CYGWIN__)
/* strip dots from the end and spaces
*
* windows/dos handle those filenames as the same file