From: Geoff Voelker Date: Wed, 3 Sep 1997 00:46:21 +0000 (+0000) Subject: Remove debugging macros. X-Git-Tag: emacs-20.1~243 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bb06745dc753854d491f1d3cfec6e9e6d1a18f29;p=emacs.git Remove debugging macros. (child_process): Remove is_dos_process field, add hwnd handle field. (FILE_LAST_CR): New macro. (w32_get_long_filename): Declare extern. --- diff --git a/src/w32.h b/src/w32.h index 90ba7fbe015..7604221f359 100644 --- a/src/w32.h +++ b/src/w32.h @@ -21,15 +21,6 @@ along with GNU Emacs; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* #define FULL_DEBUG */ -#define EMACSDEBUG - -#ifdef EMACSDEBUG -#define DebPrint(stuff) _DebPrint stuff -#else -#define DebPrint(stuff) -#endif - /* File descriptor set emulation. */ /* MSVC runtime library has limit of 64 descriptors by default */ @@ -74,10 +65,10 @@ typedef struct _child_process { int fd; int pid; - int is_dos_process; HANDLE char_avail; HANDLE char_consumed; HANDLE thrd; + HWND hwnd; PROCESS_INFORMATION procinfo; volatile int status; char chr; @@ -101,6 +92,7 @@ extern filedesc fd_info [ MAXDESC ]; #define FILE_READ 0x0001 #define FILE_WRITE 0x0002 #define FILE_BINARY 0x0010 +#define FILE_LAST_CR 0x0020 #define FILE_PIPE 0x0100 #define FILE_SOCKET 0x0200 @@ -109,6 +101,8 @@ extern void delete_child (child_process *cp); /* ------------------------------------------------------------------------- */ +/* Get long (aka "true") form of file name, if it exists. */ +extern BOOL w32_get_long_filename (char * name, char * buf, int size); /* Prepare our standard handles for proper inheritance by child processes. */ extern void prepare_standard_handles (int in, int out,