diff --git a/qse/lib/cmn/pio.c b/qse/lib/cmn/pio.c index 54c82819..880656aa 100644 --- a/qse/lib/cmn/pio.c +++ b/qse/lib/cmn/pio.c @@ -1,5 +1,5 @@ /* - * $Id: pio.c 441 2011-04-22 14:28:43Z hyunghwan.chung $ + * $Id: pio.c 454 2011-05-06 15:28:27Z hyunghwan.chung $ * Copyright 2006-2011 Chung, Hyung-Hwan. This file is part of QSE. @@ -30,6 +30,8 @@ # define INCL_DOSPROCESS # define INCL_DOSERRORS # include +#elif defined(__DOS__) +# include #else # include "syscall.h" # include @@ -116,6 +118,8 @@ qse_pio_t* qse_pio_init ( qse_mchar_t* cmd_line = QSE_NULL; qse_mchar_t* cmd_file; HFILE os2devnul = (HFILE)-1; +#elif defined(__DOS__) +# error UNSUPPORTED #else qse_pio_pid_t pid; #endif diff --git a/qse/lib/cmn/sio.c b/qse/lib/cmn/sio.c index 2da92427..7c0b75bd 100644 --- a/qse/lib/cmn/sio.c +++ b/qse/lib/cmn/sio.c @@ -1,5 +1,5 @@ /* - * $Id: sio.c 441 2011-04-22 14:28:43Z hyunghwan.chung $ + * $Id: sio.c 454 2011-05-06 15:28:27Z hyunghwan.chung $ * Copyright 2006-2011 Chung, Hyung-Hwan. This file is part of QSE. @@ -43,6 +43,8 @@ static qse_sio_t __sio_in = (HANDLE)STD_INPUT_HANDLE, /* handle */ #elif defined(__OS2__) (HFILE)0, /* handle */ + #elif defined(__DOS__) + 0, /* handle */ #else 0, /* handle */ #endif @@ -82,6 +84,8 @@ static qse_sio_t __sio_out = (HANDLE)STD_OUTPUT_HANDLE, #elif defined(__OS2__) (HFILE)1, + #elif defined(__DOS__) + 1, #else 1, #endif @@ -121,6 +125,8 @@ static qse_sio_t __sio_err = (HANDLE)STD_ERROR_HANDLE, #elif defined(__OS2__) (HFILE)2, + #elif defined(__DOS__) + 2, #else 2, #endif