summaryrefslogtreecommitdiff
path: root/win32/win32.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-06-12 06:43:03 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-06-12 06:43:03 +0000
commit73c4f7a1d0b3ac27682d86c953e22cbc7dc810e6 (patch)
treed12e2ac03334a26b273c7b91e41aba6df9cfc33f /win32/win32.h
parent22b491d3a115964a8dde699347569bf3176f8b1a (diff)
downloadperl-73c4f7a1d0b3ac27682d86c953e22cbc7dc810e6.tar.gz
EXTERN_C declarations for global arrays in various
headers, so perl can be built even in C++ mode; win32 build fixups; regen headers p4raw-id: //depot/perl@3537
Diffstat (limited to 'win32/win32.h')
-rw-r--r--win32/win32.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/win32/win32.h b/win32/win32.h
index 61aa2233f5..c688ee9f16 100644
--- a/win32/win32.h
+++ b/win32/win32.h
@@ -402,8 +402,8 @@ struct thread_intern {
lpa[0] = '\0', WideCharToMultiByte(acp, 0, lpw, -1, lpa, nChars, NULL, NULL)
/* place holders for now */
-#define USING_WIDE() 0
-#define GETINTERPMODE() CP_ACP
+#define USING_WIDE() (IsWinNT())
+#define GETINTERPMODE() (IN_UTF8)
/*
* This provides a layer of functions and macros to ensure extensions will