diff --git a/ChangeLog b/ChangeLog
index b1a6f5e36a54513bf30037b1ff9983387453a275..3f653fd21bebe316a499d12bf629f6c194a04918 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -30,8 +30,6 @@ CVS code -
 	  Add function init_backup_dir() to handle relative paths
 	  correctly, use get_full_path() to get the canonical pathname,
 	  and use tail() to get the filename if get_full_path() fails.
-	- Port to the Tandem NonStop Kernel (nsr-tandem-nsk). (Tom
-	  Bates; minor tweaks by DLR)
 - files.c:
   add_open_files()
 	- Make the saving of marked status in open_files->file_flags
diff --git a/src/nano.c b/src/nano.c
index cf3858cce5cf13b1904537ab660b24a1d5bfab13..15c1fe5eb4361083d583a069f9382203b89539cb 100644
--- a/src/nano.c
+++ b/src/nano.c
@@ -19,11 +19,6 @@
  *                                                                        *
  **************************************************************************/
 
-#ifdef __TANDEM
-/* Tandem NonStop Kernel */
-#include <floss.h>
-#endif
-
 #include "config.h"
 
 #include <stdio.h>
@@ -3178,7 +3173,7 @@ int main(int argc, char *argv[])
 #if !defined(ENABLE_NANORC) && defined(DISABLE_ROOTWRAP) && !defined(DISABLE_WRAPPING)
     /* if we don't have rcfile support, we're root, and
        --disable-wrapping-as-root is used, turn wrapping off */
-    if (geteuid() == NANO_ROOT_UID)
+    if (geteuid() == 0)
 	SET(NO_WRAP);
 #endif
 
@@ -3420,7 +3415,7 @@ int main(int argc, char *argv[])
 	flags |= flags_cpy;
     }
 #if defined(DISABLE_ROOTWRAP) && !defined(DISABLE_WRAPPING)
-    else if (geteuid() == NANO_ROOT_UID)
+    else if (geteuid() == 0)
 	SET(NO_WRAP);
 #endif
 #endif /* ENABLE_NANORC */
diff --git a/src/nano.h b/src/nano.h
index 9e3a1ba09df818defad84d2fb53825878916d9eb..7dd25befa3976e94b7d769c6bab134f5d2fee3f3 100644
--- a/src/nano.h
+++ b/src/nano.h
@@ -22,13 +22,6 @@
 #ifndef NANO_H
 #define NANO_H 1
 
-#ifdef __TANDEM
-/* Tandem NonStop Kernel */
-#define NANO_ROOT_UID 65535
-#else
-#define NANO_ROOT_UID 0
-#endif
-
 #ifdef HAVE_LIMITS_H
 #include <limits.h>
 #endif
diff --git a/src/rcfile.c b/src/rcfile.c
index 5749c28887698f33025fca7c84cba170f5d0fac6..dcfdb8c7959e24fa7e3ff2ac5eb0d5fdfe9f40aa 100644
--- a/src/rcfile.c
+++ b/src/rcfile.c
@@ -678,7 +678,7 @@ void do_rcfile(void)
 #if defined(DISABLE_ROOTWRAP) && !defined(DISABLE_WRAPPING)
     /* If we've already read SYSCONFDIR/nanorc (if it's there), we're
        root, and --disable-wrapping-as-root is used, turn wrapping off */
-	if (euid == NANO_ROOT_UID)
+	if (euid == 0)
 	    SET(NO_WRAP);
 #endif
 	if ((rcstream = fopen(nanorc, "r")) == NULL) {