X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/57048744037204ae0cef40cdca9d8a967a4e1407..be02381c5db4236f51f474726003d5a97bbc61f7:/src/s/aix4-2.h diff --git a/src/s/aix4-2.h b/src/s/aix4-2.h index 443fc03457..c2715fffe0 100644 --- a/src/s/aix4-2.h +++ b/src/s/aix4-2.h @@ -32,7 +32,7 @@ along with GNU Emacs. If not, see . */ /* In AIX, you allocate a pty by opening /dev/ptc to get the master side. To get the name of the slave side, you just ttyname() the master side. */ -#define PTY_ITERATION for (c = 0; !c ; c++) +#define PTY_ITERATION int c; for (c = 0; !c ; c++) #define PTY_NAME_SPRINTF strcpy (pty_name, "/dev/ptc"); #define PTY_TTY_NAME_SPRINTF strcpy (pty_name, ttyname (fd));