Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
5917e80d
Commit
5917e80d
authored
Dec 05, 2001
by
Douglas B Rupp
Committed by
Geert Bosch
Dec 05, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* adaint.c: Minor cleanups.
From-SVN: r47637
parent
2c70f9dd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
11 deletions
+12
-11
gcc/ada/ChangeLog
+4
-0
gcc/ada/adaint.c
+8
-11
No files found.
gcc/ada/ChangeLog
View file @
5917e80d
2001-12-04 Douglass B. Rupp <rupp@gnat.com>
2001-12-04 Douglass B. Rupp <rupp@gnat.com>
* adaint.c: Minor cleanups.
2001-12-04 Douglass B. Rupp <rupp@gnat.com>
* adaint.c: Do not use utime.h on vxworks.
* adaint.c: Do not use utime.h on vxworks.
2001-12-04 Arnaud Charlet <charlet@gnat.com>
2001-12-04 Arnaud Charlet <charlet@gnat.com>
...
...
gcc/ada/adaint.c
View file @
5917e80d
...
@@ -69,6 +69,9 @@
...
@@ -69,6 +69,9 @@
#if defined (__EMX__) || defined (MSDOS) || defined (_WIN32)
#if defined (__EMX__) || defined (MSDOS) || defined (_WIN32)
#elif defined (VMS)
#elif defined (VMS)
/* Header files and definitions for __gnat_set_file_time_name. */
#include <rms.h>
#include <rms.h>
#include <atrdef.h>
#include <atrdef.h>
#include <fibdef.h>
#include <fibdef.h>
...
@@ -79,17 +82,6 @@
...
@@ -79,17 +82,6 @@
#include <string.h>
#include <string.h>
#include <unixlib.h>
#include <unixlib.h>
struct
utimbuf
{
time_t
actime
;
time_t
modtime
;
};
#define NOREAD 0x01
#define NOWRITE 0x02
#define NOEXECUTE 0x04
#define NODELETE 0x08
/* use native 64-bit arithmetic */
/* use native 64-bit arithmetic */
#define unix_time_to_vms(X,Y) \
#define unix_time_to_vms(X,Y) \
{ unsigned long long reftime, tmptime = (X); \
{ unsigned long long reftime, tmptime = (X); \
...
@@ -104,6 +96,7 @@ struct dsc$descriptor_fib
...
@@ -104,6 +96,7 @@ struct dsc$descriptor_fib
struct
fibdef
*
fib
$
l_addr
;
struct
fibdef
*
fib
$
l_addr
;
};
};
/* I/O Status Block. */
struct
IOSB
struct
IOSB
{
{
unsigned
short
status
,
count
;
unsigned
short
status
,
count
;
...
@@ -112,6 +105,7 @@ struct IOSB
...
@@ -112,6 +105,7 @@ struct IOSB
static
char
*
tryfile
;
static
char
*
tryfile
;
/* Variable length string. */
struct
vstring
struct
vstring
{
{
short
length
;
short
length
;
...
@@ -937,6 +931,9 @@ __gnat_set_file_time_name (name, time_stamp)
...
@@ -937,6 +931,9 @@ __gnat_set_file_time_name (name, time_stamp)
{
{
#if defined (__EMX__) || defined (MSDOS) || defined (_WIN32) \
#if defined (__EMX__) || defined (MSDOS) || defined (_WIN32) \
|| defined (__vxworks)
|| defined (__vxworks)
/* Code to implement __gnat_set_file_time_name for these systems. */
#elif defined (VMS)
#elif defined (VMS)
struct
FAB
fab
;
struct
FAB
fab
;
struct
NAM
nam
;
struct
NAM
nam
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment