aboutsummaryrefslogtreecommitdiff
path: root/src/lpt.c
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-06-09 12:17:03 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-06-09 12:17:03 +0000
commit036e1f6c55ca27059c9ece1a3e29e80523cb6a40 (patch)
treeccb7938f8ffd5da355709b3420923c901f551906 /src/lpt.c
parente3c64e6123d6e9af2946fe1ddeb344fb9855fbd7 (diff)
replaced MACOSX by __APPLE__
replaced NT by __WIN32__ (defined by mingw, but NOT by msvc) svn path=/trunk/externals/zexy/; revision=3139
Diffstat (limited to 'src/lpt.c')
-rw-r--r--src/lpt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lpt.c b/src/lpt.c
index fbe58ff..238beef 100644
--- a/src/lpt.c
+++ b/src/lpt.c
@@ -40,7 +40,7 @@
#ifdef Z_WANT_LPT
# include <stdlib.h>
-# ifdef NT
+# ifdef __WIN32__
/* on windoze everything is so complicated... */
extern int read_parport(int port);
extern void write_parport(int port, int value);
@@ -77,7 +77,7 @@ static int sys_inb(int port)
{
return inb(port);
}
-# endif /* NT */
+# endif /* __WIN32__ */
#endif /* Z_WANT_LP */