#define clrbrk()
#define usrbrk() 0
#endif
+
+#ifdef HAVE_WIN32
+#include <windows.h>
+#define isatty(fd) (fd==1)
+DWORD g_platform_id = VER_PLATFORM_WIN32_WINDOWS;
+#endif
/* Exported variables */
init_signals(terminate_console);
}
+#if !defined(HAVE_WIN32)
/* Override Bacula default signals */
signal(SIGCHLD, SIG_IGN);
signal(SIGQUIT, SIG_IGN);
signal(SIGTTIN, got_sigtin);
signal(SIGTTOU, got_sigtout);
trapctlc();
+#endif
if (argc) {
usage();
*/
/*
- Copyright (C) 2000, 2001 Kern Sibbald and John Walker
+ Copyright (C) 2000-2004 Kern Sibbald and John Walker
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License