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
9580b583
Commit
9580b583
authored
May 16, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed WINNT to _WIN32.
From-SVN: r9732
parent
e9990579
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
10 deletions
+10
-10
gcc/getpwd.c
+1
-1
gcc/protoize.c
+2
-2
gcc/sdbout.c
+1
-1
gcc/toplev.c
+6
-6
No files found.
gcc/getpwd.c
View file @
9580b583
...
@@ -28,7 +28,7 @@ extern char *getcwd ();
...
@@ -28,7 +28,7 @@ extern char *getcwd ();
/* We actually use this as a starting point, not a limit. */
/* We actually use this as a starting point, not a limit. */
#define GUESSPATHLEN 100
#define GUESSPATHLEN 100
#endif
/* (defined (USG) || defined (VMS)) */
#endif
/* (defined (USG) || defined (VMS)) */
#ifdef
WINNT
#ifdef
_WIN32
#include <direct.h>
#include <direct.h>
#endif
#endif
...
...
gcc/protoize.c
View file @
9580b583
...
@@ -64,7 +64,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
...
@@ -64,7 +64,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <errno.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/stat.h>
#ifndef
WINNT
#ifndef
_WIN32
#if defined(POSIX) || defined(CONCURRENT)
#if defined(POSIX) || defined(CONCURRENT)
#include <dirent.h>
#include <dirent.h>
#else
#else
...
@@ -169,7 +169,7 @@ typedef char * const_pointer_type;
...
@@ -169,7 +169,7 @@ typedef char * const_pointer_type;
typedef
void
voidfn
();
typedef
void
voidfn
();
extern
VOLATILE
voidfn
abort
;
extern
VOLATILE
voidfn
abort
;
#endif
#endif
#ifndef
WINNT
#ifndef
_WIN32
extern
int
kill
();
extern
int
kill
();
#endif
#endif
extern
int
creat
();
extern
int
creat
();
...
...
gcc/sdbout.c
View file @
9580b583
...
@@ -53,7 +53,7 @@ AT&T C compiler. From the example below I would conclude the following:
...
@@ -53,7 +53,7 @@ AT&T C compiler. From the example below I would conclude the following:
/* Mips systems use the SDB functions to dump out symbols, but
/* Mips systems use the SDB functions to dump out symbols, but
do not supply usable syms.h include files. */
do not supply usable syms.h include files. */
#if defined(USG) && !defined(MIPS) && !defined (hpux) && !defined(
WINNT
) && !defined(__linux__)
#if defined(USG) && !defined(MIPS) && !defined (hpux) && !defined(
_WIN32
) && !defined(__linux__)
#include <syms.h>
#include <syms.h>
/* Use T_INT if we don't have T_VOID. */
/* Use T_INT if we don't have T_VOID. */
#ifndef T_VOID
#ifndef T_VOID
...
...
gcc/toplev.c
View file @
9580b583
...
@@ -35,7 +35,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
...
@@ -35,7 +35,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <ctype.h>
#include <ctype.h>
#include <sys/stat.h>
#include <sys/stat.h>
#ifndef
WINNT
#ifndef
_WIN32
#ifdef USG
#ifdef USG
#undef FLOAT
#undef FLOAT
#include <sys/param.h>
#include <sys/param.h>
...
@@ -783,7 +783,7 @@ int dump_time;
...
@@ -783,7 +783,7 @@ int dump_time;
int
int
get_run_time
()
get_run_time
()
{
{
#ifndef
WINNT
#ifndef
_WIN32
#ifdef USG
#ifdef USG
struct
tms
tms
;
struct
tms
tms
;
#else
#else
...
@@ -803,12 +803,12 @@ get_run_time ()
...
@@ -803,12 +803,12 @@ get_run_time ()
if
(
quiet_flag
)
if
(
quiet_flag
)
return
0
;
return
0
;
#ifdef
WINNT
#ifdef
_WIN32
if
(
clock
()
<
0
)
if
(
clock
()
<
0
)
return
0
;
return
0
;
else
else
return
(
clock
()
*
1000
);
return
(
clock
()
*
1000
);
#else
/* not
WINNT
*/
#else
/* not
_WIN32
*/
#ifdef USG
#ifdef USG
times
(
&
tms
);
times
(
&
tms
);
return
(
tms
.
tms_utime
+
tms
.
tms_stime
)
*
(
1000000
/
HZ
);
return
(
tms
.
tms_utime
+
tms
.
tms_stime
)
*
(
1000000
/
HZ
);
...
@@ -3914,7 +3914,7 @@ You Lose! You must define PREFERRED_DEBUGGING_TYPE!
...
@@ -3914,7 +3914,7 @@ You Lose! You must define PREFERRED_DEBUGGING_TYPE!
compile_file
(
filename
);
compile_file
(
filename
);
#if !defined(OS2) && !defined(VMS) && !defined(
WINNT
)
#if !defined(OS2) && !defined(VMS) && !defined(
_WIN32
)
if
(
flag_print_mem
)
if
(
flag_print_mem
)
{
{
#ifdef __alpha
#ifdef __alpha
...
@@ -3932,7 +3932,7 @@ You Lose! You must define PREFERRED_DEBUGGING_TYPE!
...
@@ -3932,7 +3932,7 @@ You Lose! You must define PREFERRED_DEBUGGING_TYPE!
system
(
"ps v"
);
system
(
"ps v"
);
#endif
/* not USG */
#endif
/* not USG */
}
}
#endif
/* not OS2 and not VMS and not
WINNT
*/
#endif
/* not OS2 and not VMS and not
_WIN32
*/
if
(
errorcount
)
if
(
errorcount
)
exit
(
FATAL_EXIT_CODE
);
exit
(
FATAL_EXIT_CODE
);
...
...
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