diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2005-06-15 15:46:22 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2005-06-15 15:46:22 +0000 |
commit | 26a7bd6b022d02e6a74343a785404f87cad70d99 (patch) | |
tree | a1f6b61196302a806e0584f0ae66e39fa01c7c94 /src | |
parent | 119f5dd121c696788f17e9a935f5784f757e4873 (diff) |
only compile if Z_WANT_LPT is set
svn path=/trunk/externals/zexy/; revision=3173
Diffstat (limited to 'src')
-rw-r--r-- | src/winNT_portio.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 <stdio.h>
#include <windows.h>
@@ -124,7 +124,7 @@ int open_port(int port) return(0);
}
}
-#endif /* __WIN32__ */
+#endif /* __WIN32__ & Z_WANT_LPT */
void z_winNT_portio_setup(void)
{
|