diff src/nt.h @ 398:74fd4e045ea6 r21-2-29

Import from CVS: tag r21-2-29
author cvs
date Mon, 13 Aug 2007 11:13:30 +0200
parents e11d67e05968
children b8cc9ab3f761
line wrap: on
line diff
--- a/src/nt.h	Mon Aug 13 11:12:06 2007 +0200
+++ b/src/nt.h	Mon Aug 13 11:13:30 2007 +0200
@@ -1,6 +1,3 @@
-#ifndef _NT_H_
-#define _NT_H_
-
 /* Support routines for the NT version of XEmacs.
    Copyright (C) 1994 Free Software Foundation, Inc.
 
@@ -26,6 +23,9 @@
 
 /* #define FULL_DEBUG */
 
+#ifndef INCLUDED_nt_h_
+#define INCLUDED_nt_h_
+
 #ifdef DEBUG_XEMACS
 #define DebPrint(stuff) _DebPrint stuff
 #else
@@ -34,6 +34,9 @@
 
 #define R_OK 4
 #define W_OK 2
+#ifdef X_OK
+#undef X_OK
+#endif
 #define X_OK 1
 #define F_OK 0
 
@@ -147,4 +150,4 @@
 extern void init_ntproc ();
 extern void term_ntproc ();
 
-#endif /* _NT_H_ */
+#endif /* INCLUDED_nt_h_ */