Message-Id: <
200106180121.VAA10195@Orb.Nashua.NH.US>
p4raw-id: //depot/perl@10674
#ifdef NETWARE
#define _POSIX_
- //Ideally this should be somewhere down in the includes
- //but putting it in other places is giving compiler errors.
- //Also here I am unable to check for HAS_UNAME since it wouldn't have yet
- //come into the file at this stage - sgp 18th Oct 2000
+ /*
+ * Ideally this should be somewhere down in the includes
+ * but putting it in other places is giving compiler errors.
+ * Also here I am unable to check for HAS_UNAME since it wouldn't have
+ * yet come into the file at this stage - sgp 18th Oct 2000
+ */
#include <sys/utsname.h>
#endif /* NETWARE */
#define Nullhv Null(HV*)
-#define HvARRAY(hv) ((HE**)((XPVHV*) SvANY(hv))->xhv_array)
+#define HvARRAY(hv) (*(HE***)&((XPVHV*) SvANY(hv))->xhv_array)
#define HvFILL(hv) ((XPVHV*) SvANY(hv))->xhv_fill
#define HvMAX(hv) ((XPVHV*) SvANY(hv))->xhv_max
#define HvKEYS(hv) ((XPVHV*) SvANY(hv))->xhv_keys