X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Fprocess.h;h=f940db5f81cc457bedae4a98ae8169e3a353ad64;hb=37bdb8647edead5a0e669c6ec27841d470a9e5e6;hp=8e230cf76868b1bd7a81f2b8b51a1fbfeb9d99a7;hpb=3e447015251ce6dcde843cbed10d9033d5538622;p=chise%2Fxemacs-chise.git diff --git a/src/process.h b/src/process.h index 8e230cf..f940db5 100644 --- a/src/process.h +++ b/src/process.h @@ -37,7 +37,8 @@ void wait_without_blocking (void); #else /* not NO_SUBPROCESSES */ -/* Only process.c needs to know about the guts of this */ +/* struct Lisp_Process is defined in procimpl.h; only process-*.c need + to know about the guts of it. */ DECLARE_LRECORD (process, Lisp_Process); #define XPROCESS(x) XRECORD (x, process, Lisp_Process) @@ -108,7 +109,7 @@ void kick_status_notify (void); void deactivate_process (Lisp_Object proc); -#ifdef WINDOWSNT +#ifdef WIN32_NATIVE int #else void @@ -138,13 +139,4 @@ Lisp_Object canonicalize_host_name (Lisp_Object host); #endif /* emacs */ -#ifdef HAVE_GETPT -#define PTY_ITERATION -#define PTY_OPEN \ - if ((fd = getpt()) < 0 || grantpt (fd) < 0 || unlockpt (fd) < 0) \ - return -1; -#define PTY_NAME_SPRINTF -#define PTY_TTY_NAME_SPRINTF strcpy (pty_name, ptsname (fd)); -#endif - #endif /* INCLUDED_process_h_ */