diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 1999-10-08 13:51:34 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 1999-10-08 13:51:34 +0000 |
commit | c88be79fccb80fda2b9ad01fb180cda4529bca38 (patch) | |
tree | abeb79248c207f0d5e445f13d8f58dd5229d5715 /ext/DynaLoader/dl_aix.xs | |
parent | 4e774c8419d3eafeeaf002f3bd7b53c6ac99d4c1 (diff) | |
download | perl-c88be79fccb80fda2b9ad01fb180cda4529bca38.tar.gz |
The second cut at AIX C++ extension troubles.
p4raw-id: //depot/cfgperl@4318
Diffstat (limited to 'ext/DynaLoader/dl_aix.xs')
-rw-r--r-- | ext/DynaLoader/dl_aix.xs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/ext/DynaLoader/dl_aix.xs b/ext/DynaLoader/dl_aix.xs index e3a4113f8b..798ed58d31 100644 --- a/ext/DynaLoader/dl_aix.xs +++ b/ext/DynaLoader/dl_aix.xs @@ -33,10 +33,12 @@ * of load() and unload() from libC and libC_r need to be used, * otherwise statics in the extensions won't get initialized right. * -- Stephanie Beals <bealzy@us.ibm.com> */ -#ifdef USE_xlC /* The define comes, when it comes, from hints/aix.pl. */ -# define LOAD loadAndInitialize +#ifdef USE_libC /* The define comes, when it comes, from hints/aix.pl. */ +# define LOAD loadAndInit # define UNLOAD terminateAndUnload -# include <load.h> +# ifdef USE_load_h +# include <load.h> +# endif #else # define LOAD load # define UNLOAD unload |