summaryrefslogtreecommitdiff
path: root/win32/win32.h
diff options
context:
space:
mode:
authorTony Cook <tony@develop-help.com>2014-12-16 17:04:09 +1100
committerTony Cook <tony@develop-help.com>2015-01-06 09:30:29 +1100
commite5fb2b49c0e09d255ed30c17281313f00a79cbab (patch)
treee651f2ee48b89da5f5077a02280b13abfdae34b5 /win32/win32.h
parent70a78ba74c408e393934cf301faba17862fdbb7d (diff)
downloadperl-e5fb2b49c0e09d255ed30c17281313f00a79cbab.tar.gz
build miniperl with PerlIO
Several tests use PerlIO layers (:utf8, :pop) without testing for it. non-PerlIO builds were vaguely deprecated in 5.18.0 and can no longer be enabled on POSIX systems through Configure, so making miniperl PerlIO on Win32 is no big stretch minitests failing now: io/data.t io/fs.t op/coreamp.t op/filetest.t op/fork.t op/glob.t op/heredoc.t op/magic.t op/sselect.t op/stat.t op/tie_fetch_count.t
Diffstat (limited to 'win32/win32.h')
-rw-r--r--win32/win32.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/win32/win32.h b/win32/win32.h
index 5a48b0b385..2491b6df19 100644
--- a/win32/win32.h
+++ b/win32/win32.h
@@ -23,6 +23,9 @@
# define WIN32_NO_SOCKETS
/* less I/O calls during each require */
# define PERL_DISABLE_PMC
+
+/* allow minitest to work */
+# define USE_PERLIO
#endif
#ifdef WIN32_NO_SOCKETS