added minor changes for vms
This commit is contained in:
parent
5943d9d190
commit
4105128b3a
@ -128,7 +128,7 @@ enum qse_fio_mode_t
|
|||||||
#elif defined(__DOS__)
|
#elif defined(__DOS__)
|
||||||
typedef int qse_fio_hnd_t;
|
typedef int qse_fio_hnd_t;
|
||||||
#elif defined(vms) || defined(__vms)
|
#elif defined(vms) || defined(__vms)
|
||||||
typedef void* qse_fio_hnd_t; /* struct FAB* */
|
typedef void* qse_fio_hnd_t; /* struct FAB*, struct RAB* */
|
||||||
#else
|
#else
|
||||||
typedef int qse_fio_hnd_t;
|
typedef int qse_fio_hnd_t;
|
||||||
#endif
|
#endif
|
||||||
|
@ -43,6 +43,7 @@
|
|||||||
#elif defined(vms) || defined(__vms)
|
#elif defined(vms) || defined(__vms)
|
||||||
# include <starlet.h> /* (SYS$...) */
|
# include <starlet.h> /* (SYS$...) */
|
||||||
# include <ssdef.h> /* (SS$...) */
|
# include <ssdef.h> /* (SS$...) */
|
||||||
|
# include <lib$routines.h> /* (lib$...) */
|
||||||
#else
|
#else
|
||||||
# include "syscall.h"
|
# include "syscall.h"
|
||||||
#endif
|
#endif
|
||||||
@ -169,6 +170,9 @@ void qse_assert_failed (
|
|||||||
intdos (®s, ®s);
|
intdos (®s, ®s);
|
||||||
}
|
}
|
||||||
#elif defined(vms) || defined(__vms)
|
#elif defined(vms) || defined(__vms)
|
||||||
|
lib$stop (SS$_ABORT); /* use SS$_OPCCUS instead? */
|
||||||
|
|
||||||
|
/* this won't be reached since lib$stop() terminates the process */
|
||||||
sys$exit (SS$_ABORT); /* this condition code can be shown with
|
sys$exit (SS$_ABORT); /* this condition code can be shown with
|
||||||
* 'show symbol $status' from the command-line. */
|
* 'show symbol $status' from the command-line. */
|
||||||
#else
|
#else
|
||||||
|
@ -38,6 +38,8 @@
|
|||||||
# include <io.h>
|
# include <io.h>
|
||||||
# include <fcntl.h>
|
# include <fcntl.h>
|
||||||
# include <errno.h>
|
# include <errno.h>
|
||||||
|
#elif defined(vms) || defined(__vms)
|
||||||
|
# include <starlet.h>
|
||||||
#else
|
#else
|
||||||
# include "syscall.h"
|
# include "syscall.h"
|
||||||
#endif
|
#endif
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
#include <qse/cmn/fio.h>
|
#include <qse/cmn/fio.h>
|
||||||
#include <qse/cmn/mem.h>
|
#include <qse/cmn/mem.h>
|
||||||
|
#include <qse/cmn/str.h>
|
||||||
#include <qse/cmn/stdio.h>
|
#include <qse/cmn/stdio.h>
|
||||||
|
|
||||||
#include <locale.h>
|
#include <locale.h>
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
#include <qse/cmn/fio.h>
|
#include <qse/cmn/fio.h>
|
||||||
#include <qse/cmn/mem.h>
|
#include <qse/cmn/mem.h>
|
||||||
|
#include <qse/cmn/str.h>
|
||||||
#include <qse/cmn/stdio.h>
|
#include <qse/cmn/stdio.h>
|
||||||
|
|
||||||
#define R(f) \
|
#define R(f) \
|
||||||
|
Loading…
Reference in New Issue
Block a user