summaryrefslogtreecommitdiff
path: root/win32/win32.h
diff options
context:
space:
mode:
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 e109939070..8db0303965 100644
--- a/win32/win32.h
+++ b/win32/win32.h
@@ -13,6 +13,7 @@
# define _WIN32_WINNT 0x0500 /* needed for CreateHardlink() etc. */
#endif
+/* Win32 only optimizations for faster building */
#ifdef PERL_IS_MINIPERL
/* this macro will remove Winsock only on miniperl, PERL_IMPLICIT_SYS and
* makedef.pl create dependencies that will keep Winsock linked in even with
@@ -20,6 +21,8 @@
* level in full perl
*/
# define WIN32_NO_SOCKETS
+/* less I/O calls during each require */
+# define PERL_DISABLE_PMC
#endif
#ifdef WIN32_NO_SOCKETS