summaryrefslogtreecommitdiff
path: root/ext/DynaLoader/dl_hpux.xs
diff options
context:
space:
mode:
authorDaniel Dragan <bulk88@hotmail.com>2014-10-08 01:42:23 -0400
committerTony Cook <tony@develop-help.com>2014-10-10 11:29:57 +1100
commit11f610b5c5372b7dbb18aeb4f58ccfba2c4d715f (patch)
tree30ba926be12d9226e3bb58cbd6ac7baed7df8081 /ext/DynaLoader/dl_hpux.xs
parentd3e5298acc122505a6c2f00efdf1d69d37b194fb (diff)
downloadperl-11f610b5c5372b7dbb18aeb4f58ccfba2c4d715f.tar.gz
remove dl_nonlazy global if unused in Dynaloader
Saves an int of memory per interp. Removes a env var lookup, and on Win32 also remove a registry check for PERL_DL_NONLAZY. This speeds up start up time of interp a tiny bit. While platforms other than hpux and dlopen use RTLD_LAZY, they use it unconditionally ignoring PERL_DL_NONLAZY. I am not judging that decision in this commit.
Diffstat (limited to 'ext/DynaLoader/dl_hpux.xs')
-rw-r--r--ext/DynaLoader/dl_hpux.xs1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/DynaLoader/dl_hpux.xs b/ext/DynaLoader/dl_hpux.xs
index e08919044e..6c7b3e4d8a 100644
--- a/ext/DynaLoader/dl_hpux.xs
+++ b/ext/DynaLoader/dl_hpux.xs
@@ -23,6 +23,7 @@
#endif
#include "EXTERN.h"
+#define PERL_IN_DL_HPUX_XS
#include "perl.h"
#include "XSUB.h"