summaryrefslogtreecommitdiff
path: root/win32/win32.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-10-27 21:15:07 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-10-27 21:15:07 +0000
commitd543acb6a7b5779dc3f569b762833cd9da27fd50 (patch)
treee0b64488f06758ca8e9dc8b83532c9f7fc2155aa /win32/win32.h
parent2b260de0f3727bc62519897f69d6f752c97d8502 (diff)
downloadperl-d543acb6a7b5779dc3f569b762833cd9da27fd50.tar.gz
patch up egcs-1.1.2-mingw32 build (builds a working miniperl, but not
perl; stdout/stderr redirects seem broken as well) p4raw-id: //depot/perl@4474
Diffstat (limited to 'win32/win32.h')
-rw-r--r--win32/win32.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/win32/win32.h b/win32/win32.h
index 0f6f7081fa..766f488de9 100644
--- a/win32/win32.h
+++ b/win32/win32.h
@@ -248,6 +248,13 @@ typedef long gid_t;
#define flushall _flushall
#define fcloseall _fcloseall
+#undef __attribute__
+#define __attribute__(x)
+
+#ifndef CP_UTF8
+# define CP_UTF8 65001
+#endif
+
#ifdef PERL_OBJECT
# define MEMBER_TO_FPTR(name) &(name)
#endif