(OVERLAY_POSITION): Use the new type-test macros.
[bpt/emacs.git] / src / process.c
index 7ffe74a..b580b11 100644 (file)
@@ -1403,7 +1403,11 @@ create_process (process, new_argv, current_dir)
            /* In order to get a controlling terminal on some versions
               of BSD, it is necessary to put the process in pgrp 0
               before it opens the terminal.  */
+#ifdef OSF1
+           setpgid (0, 0);
+#else
            setpgrp (0, 0);
+#endif
 #endif
          }
 #endif /* TIOCNOTTY */