adaint.c: Prefix #include of VMS system header files with vms/ [VMS]...
2005-03-08 Doug Rupp <rupp@adacore.com> * adaint.c: Prefix #include of VMS system header files with vms/ [VMS] (HOST_EXECUTABLE_SUFFIX, HOST_OBJECT_SUFFIX): Define for VMS. Do not define a dummy function "convert_addresses" under Darwin, not needed. * tb-alvms.c, expect.c: Prefix #include of VMS system header files with vms/ From-SVN: r96484
This commit is contained in:
parent
3f8abd98ba
commit
6178dd5c19
|
@ -52,6 +52,8 @@
|
||||||
|
|
||||||
#ifdef VMS
|
#ifdef VMS
|
||||||
#define _POSIX_EXIT 1
|
#define _POSIX_EXIT 1
|
||||||
|
#define HOST_EXECUTABLE_SUFFIX ".exe"
|
||||||
|
#define HOST_OBJECT_SUFFIX ".obj"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef IN_RTS
|
#ifdef IN_RTS
|
||||||
|
@ -96,13 +98,13 @@
|
||||||
|
|
||||||
/* Header files and definitions for __gnat_set_file_time_name. */
|
/* Header files and definitions for __gnat_set_file_time_name. */
|
||||||
|
|
||||||
#include <rms.h>
|
#include <vms/rms.h>
|
||||||
#include <atrdef.h>
|
#include <vms/atrdef.h>
|
||||||
#include <fibdef.h>
|
#include <vms/fibdef.h>
|
||||||
#include <stsdef.h>
|
#include <vms/stsdef.h>
|
||||||
#include <iodef.h>
|
#include <vms/iodef.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <descrip.h>
|
#include <vms/descrip.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <unixlib.h>
|
#include <unixlib.h>
|
||||||
|
|
||||||
|
@ -2491,6 +2493,7 @@ _flush_cache()
|
||||||
&& ! (defined (linux) && defined (i386)) \
|
&& ! (defined (linux) && defined (i386)) \
|
||||||
&& ! defined (__FreeBSD__) \
|
&& ! defined (__FreeBSD__) \
|
||||||
&& ! defined (__hpux__) \
|
&& ! defined (__hpux__) \
|
||||||
|
&& ! defined (__APPLE__) \
|
||||||
&& ! defined (_AIX) \
|
&& ! defined (_AIX) \
|
||||||
&& ! (defined (__alpha__) && defined (__osf__)) \
|
&& ! (defined (__alpha__) && defined (__osf__)) \
|
||||||
&& ! defined (__MINGW32__) \
|
&& ! defined (__MINGW32__) \
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
* *
|
* *
|
||||||
* C Implementation File *
|
* C Implementation File *
|
||||||
* *
|
* *
|
||||||
* Copyright (C) 2001-2004 Ada Core Technologies, Inc. *
|
* Copyright (C) 2001-2005 Ada Core Technologies, Inc. *
|
||||||
* *
|
* *
|
||||||
* GNAT is free software; you can redistribute it and/or modify it under *
|
* GNAT is free software; you can redistribute it and/or modify it under *
|
||||||
* terms of the GNU General Public License as published by the Free Soft- *
|
* terms of the GNU General Public License as published by the Free Soft- *
|
||||||
|
@ -152,10 +152,10 @@ __gnat_expect_poll (int *fd, int num_fd, int timeout, int *is_set)
|
||||||
#include <unixio.h>
|
#include <unixio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <descrip.h>
|
#include <vms/descrip.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stsdef.h>
|
#include <vms/stsdef.h>
|
||||||
#include <iodef.h>
|
#include <vms/iodef.h>
|
||||||
|
|
||||||
int
|
int
|
||||||
__gnat_pipe (int *fd)
|
__gnat_pipe (int *fd)
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
* *
|
* *
|
||||||
* C Implementation File *
|
* C Implementation File *
|
||||||
* *
|
* *
|
||||||
* Copyright (C) 2003 Ada Core Technologies, Inc *
|
* Copyright (C) 2003,2005 Ada Core Technologies, Inc *
|
||||||
* *
|
* *
|
||||||
* GNAT is free software; you can redistribute it and/or modify it under *
|
* GNAT is free software; you can redistribute it and/or modify it under *
|
||||||
* terms of the GNU General Public License as published by the Free Soft- *
|
* terms of the GNU General Public License as published by the Free Soft- *
|
||||||
|
@ -39,10 +39,10 @@
|
||||||
Most of the contents is directed by the OpenVMS/Alpha Conventions (ABI)
|
Most of the contents is directed by the OpenVMS/Alpha Conventions (ABI)
|
||||||
document, sections of which we will refer to as ABI-<section_number>. */
|
document, sections of which we will refer to as ABI-<section_number>. */
|
||||||
|
|
||||||
#include <pdscdef.h>
|
#include <vms/pdscdef.h>
|
||||||
#include <libicb.h>
|
#include <vms/libicb.h>
|
||||||
#include <chfctxdef.h>
|
#include <vms/chfctxdef.h>
|
||||||
#include <chfdef.h>
|
#include <vms/chfdef.h>
|
||||||
|
|
||||||
/* A couple of items missing from the header file included above. */
|
/* A couple of items missing from the header file included above. */
|
||||||
extern void * SYS$GL_CALL_HANDL;
|
extern void * SYS$GL_CALL_HANDL;
|
||||||
|
|
Loading…
Reference in New Issue