summaryrefslogtreecommitdiffhomepage
path: root/src/perl
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2019-07-17 21:17:30 +0300
committerValentin Bartenev <vbart@nginx.com>2019-07-17 21:17:30 +0300
commit242dc363ced8d244ff296e1c3c8f802b4857fd35 (patch)
tree51fbf6e7096c63bca1634a25372ff4d6bec16f24 /src/perl
parentdbce694d5a9b43009fef894120edd44ad1e59c25 (diff)
downloadunit-242dc363ced8d244ff296e1c3c8f802b4857fd35.tar.gz
unit-242dc363ced8d244ff296e1c3c8f802b4857fd35.tar.bz2
Perl: propagated compile options from perl build.
Some Perl compile options affects ABI and not using them while compiling our module resulted in non-working build. Notably on 32-bit Debian 10, Perl is built with -D_FILE_OFFSET_BITS=64 and our module after being compiled without this option caused segmentation faults in unexpected places.
Diffstat (limited to 'src/perl')
-rw-r--r--src/perl/nxt_perl_psgi_layer.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/perl/nxt_perl_psgi_layer.h b/src/perl/nxt_perl_psgi_layer.h
index 561d5153..3fa349c0 100644
--- a/src/perl/nxt_perl_psgi_layer.h
+++ b/src/perl/nxt_perl_psgi_layer.h
@@ -8,7 +8,6 @@
#define _NXT_PERL_PSGI_LAYER_H_INCLUDED_
-#define _GNU_SOURCE
#include <EXTERN.h>
#include <XSUB.h>
#include <perl.h>