Fix redefine problem. NORMANDY_BRANCH
authortao
Thu, 21 May 1998 18:32:53 +0000
branchNORMANDY_BRANCH
changeset 120 371ab5b1f289abce2d5a669cfa581a43947e6dc6
parent 103 32bd26e2f3ba70d4dc8b705b3a6a239aa941cc65
child 121 28381975fcbe64e419f4c4605e2424de3e9887ee
push idunknown
push userunknown
push dateunknown
Fix redefine problem.
pr/include/md/_unixos.h
--- a/pr/include/md/_unixos.h
+++ b/pr/include/md/_unixos.h
@@ -57,18 +57,22 @@
 #else
 #error Find out what include file defines fd_set on this platform
 #endif
 
 #define PR_DIRECTORY_SEPARATOR		'/'
 #define PR_DIRECTORY_SEPARATOR_STR	"/"
 #define PR_PATH_SEPARATOR		':'
 #define PR_PATH_SEPARATOR_STR		":"
-#define GCPTR
+#define GCPTR 
+
+#ifndef DEFFARPROC
+#define DEFFARPROC
 typedef int (*FARPROC)();
+#endif /* DEFFARPROC */
 
 /*
  * intervals at which GLOBAL threads wakeup to check for pending interrupt
  */
 #define _PR_INTERRUPT_CHECK_INTERVAL_SECS 5
 extern PRIntervalTime intr_timeout_ticks;
 
 typedef struct _PRUnixPollDesc {