summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeoff Voelker <voelker@cs.washington.edu>1997-09-03 00:46:21 +0000
committerGeoff Voelker <voelker@cs.washington.edu>1997-09-03 00:46:21 +0000
commite6b1aaf01c47482f76c3a223e9a99d832beacdd8 (patch)
treed5a0e687d50e308d57ad3fcfb2d91f60adcf8b9c /src
parentf0578ee87fdb9cf098645d597554de25685e8e9a (diff)
downloademacs-e6b1aaf01c47482f76c3a223e9a99d832beacdd8.tar.gz
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.
Diffstat (limited to 'src')
-rw-r--r--src/w32.h14
1 files changed, 4 insertions, 10 deletions
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,