summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-02-17 15:41:58 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-02-17 15:41:58 -0800
commite0d87dd8e64a9283b0b106f3f87806b026bfa11e (patch)
tree7e857d925af1f31dd66cc0dfdd5a8679d030c6b4 /util
parent0fd51582d9a8f5f62d6e2114348143f3a3820f0a (diff)
unifdef NCR
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'util')
-rw-r--r--util/AsmMacros.h2
-rw-r--r--util/iopl.h7
2 files changed, 0 insertions, 9 deletions
diff --git a/util/AsmMacros.h b/util/AsmMacros.h
index 860a676..cbdfea0 100644
--- a/util/AsmMacros.h
+++ b/util/AsmMacros.h
@@ -381,9 +381,7 @@ void outl(U16_t, U32_t);
#else /* not _MINIX and _ACK */
# if defined(__STDC__) && (__STDC__ == 1)
-# ifndef NCR
# define asm __asm
-# endif
# endif
# ifdef SVR4
# include <sys/types.h>
diff --git a/util/iopl.h b/util/iopl.h
index e08207c..6a284e7 100644
--- a/util/iopl.h
+++ b/util/iopl.h
@@ -11,14 +11,7 @@ int iopl(int level);
# endif
# if defined(SVR4) && defined(i386)
# include <sys/types.h>
-# ifdef NCR
- /* broken NCR <sys/sysi86.h> */
-# define __STDC
# include <sys/sysi86.h>
-# undef __STDC
-# else
-# include <sys/sysi86.h>
-# endif
# ifdef SVR4
# if !defined(sun)
# include <sys/seg.h>