* file descriptor and pid types for portability.
*/
-#ifdef WIN32
+#ifdef _XBT_WIN32
#ifndef __FD_T_DEFINED
typedef HANDLE fd_t;
csr_outputs_dont_match = 12,
csr_signals_dont_match = 13,
csr_unexpected_signal_caught = 14,
- csr_expected_signal_not_receipt = 15,
+ csr_expected_signal_not_received = 15,
csr_pipe_function_failed = 16, /* the function pipe() or CreatePipe() fails */
csr_dup2_function_failure = 17,
csr_execlp_function_failure = 18,
output_handling_t output_handling;
int async; /* if 1, the command is asynchronous */
- #ifdef WIN32
+ #ifdef _XBT_WIN32
char* t_command_line; /* translate the command line on Windows */
+ unsigned is_not_found:1;
#endif
}s_context_t,* context_t;
fd_t stdout_fd; /* the stdout fd of the command */
fd_t stdin_fd; /* the stdin fd of the command */
int exit_code; /* the exit code of the command */
- #ifdef WIN32
+ #ifdef _XBT_WIN32
unsigned long stat_val;
#else
int stat_val;
char* signal; /* the signal raised by the command if any */
xbt_os_mutex_t mutex;
- #ifndef WIN32
+ #ifndef _XBT_WIN32
int killed; /* if 1, the command was killed */
int execlp_errno;
#endif