diff options
author | Nicholas Clark <nick@ccl4.org> | 2011-03-19 19:10:42 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2011-03-19 21:18:18 +0000 |
commit | 53ca1a61159c628a2b9c07745ac216e744f531ff (patch) | |
tree | e9832371a76d16ae658df11e32f7bdb475918d59 /ext | |
parent | 6438af90e1f793b4872222495896a0ce09ccb849 (diff) | |
download | perl-53ca1a61159c628a2b9c07745ac216e744f531ff.tar.gz |
Add PERL_NO_GET_CONTEXT to dl_dlopen.xs
For threaded builds on platforms using dlopen() for dynamic loading, this
should reduce object size, and slightly reduce CPU usage when loading
extensions.
Diffstat (limited to 'ext')
-rw-r--r-- | ext/DynaLoader/dl_dlopen.xs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/DynaLoader/dl_dlopen.xs b/ext/DynaLoader/dl_dlopen.xs index 21a8ef50d3..4646cb0c37 100644 --- a/ext/DynaLoader/dl_dlopen.xs +++ b/ext/DynaLoader/dl_dlopen.xs @@ -116,6 +116,8 @@ */ +#define PERL_NO_GET_CONTEXT + #include "EXTERN.h" #include "perl.h" #include "XSUB.h" |