summaryrefslogtreecommitdiff
path: root/win32/win32.h
diff options
context:
space:
mode:
Diffstat (limited to 'win32/win32.h')
-rw-r--r--win32/win32.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/win32/win32.h b/win32/win32.h
index 8d6b04197d..31aadf960e 100644
--- a/win32/win32.h
+++ b/win32/win32.h
@@ -9,6 +9,16 @@
#ifndef _INC_WIN32_PERL5
#define _INC_WIN32_PERL5
+#ifdef PERL_OBJECT
+#define ENV_HV_NAME "ENV_HV_NAME"
+#define DYNAMIC_ENV_FETCH
+#define prime_env_iter()
+#ifdef PERL_GLOBAL_STRUCT
+#error PERL_GLOBAL_STRUCT cannot be defined with PERL_OBJECT
+#endif
+#define win32_perllib_path PerlEnv_lib_path
+#endif
+
#ifdef __GNUC__
typedef long long __int64;
#define Win32_Winsock