aboutsummaryrefslogtreecommitdiff
path: root/nginx/ngx_js.c
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2025-06-09 16:59:22 +0300
committerDmitry Volyntsev <xeioexception@gmail.com>2025-06-11 20:24:15 -0700
commit3733afd906187fcc38f5935c8f79c3dfe28bbd79 (patch)
tree41c4cbf593a3825c2b413770c1f1ec0da21a0a47 /nginx/ngx_js.c
parent1334534ef7a0733b3a2f27a813ce7f15ae4d2354 (diff)
downloadnjs-3733afd906187fcc38f5935c8f79c3dfe28bbd79.tar.gz
njs-3733afd906187fcc38f5935c8f79c3dfe28bbd79.zip
Removed NGX_MAX_PATH define.
Already defined in ngx_files.h (included from ngx_core.h).
Diffstat (limited to 'nginx/ngx_js.c')
-rw-r--r--nginx/ngx_js.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/nginx/ngx_js.c b/nginx/ngx_js.c
index 515218b9..448073b9 100644
--- a/nginx/ngx_js.c
+++ b/nginx/ngx_js.c
@@ -31,12 +31,6 @@ typedef struct {
} ngx_js_rejected_promise_t;
-#if defined(PATH_MAX)
-#define NGX_MAX_PATH PATH_MAX
-#else
-#define NGX_MAX_PATH 4096
-#endif
-
typedef struct {
int fd;
njs_str_t name;