summaryrefslogtreecommitdiff
path: root/win32/win32io.c
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>2002-05-02 15:18:12 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>2002-05-02 15:18:12 +0000
commit57143e73be61ad4ed95e8d5fdc799945c48c8339 (patch)
treedfef3ec0f9b17fce0692cabb72c488688bb856bb /win32/win32io.c
parentb6d604f4723f29adddfe9974781662588dd25ed7 (diff)
downloadperl-57143e73be61ad4ed95e8d5fdc799945c48c8339.tar.gz
Do not build if not using layers
p4raw-id: //depot/perlio@16345
Diffstat (limited to 'win32/win32io.c')
-rw-r--r--win32/win32io.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/win32/win32io.c b/win32/win32io.c
index d10adb46ef..4e61aaa5f7 100644
--- a/win32/win32io.c
+++ b/win32/win32io.c
@@ -10,11 +10,15 @@
#include <sys/stat.h>
#include "EXTERN.h"
#include "perl.h"
+
+#ifdef PERLIO_LAYERS
+
#include "perliol.h"
#define NO_XSLOCKS
#include "XSUB.h"
+
/* Bottom-most level for Win32 case */
typedef struct
@@ -359,5 +363,5 @@ PerlIO_funcs PerlIO_win32 = {
NULL, /* set_ptrcnt */
};
-
+#endif