From 26a7bd6b022d02e6a74343a785404f87cad70d99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Wed, 15 Jun 2005 15:46:22 +0000 Subject: only compile if Z_WANT_LPT is set svn path=/trunk/externals/zexy/; revision=3173 --- src/winNT_portio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/winNT_portio.c') diff --git a/src/winNT_portio.c b/src/winNT_portio.c index 977395a..c6ffe0c 100644 --- a/src/winNT_portio.c +++ b/src/winNT_portio.c @@ -6,7 +6,7 @@ * to plug this on the usb bus. * if the interface changes, only this file has to be adopted for the target system */ -#ifdef __WIN32__ +#if defined __WIN32__ && defined Z_WANT_LPT #include #include @@ -124,7 +124,7 @@ int open_port(int port) return(0); } } -#endif /* __WIN32__ */ +#endif /* __WIN32__ & Z_WANT_LPT */ void z_winNT_portio_setup(void) { -- cgit v1.2.1