Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
8c3d2f01
Commit
8c3d2f01
authored
Nov 11, 2009
by
Russ Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avoid clash with stdio's getc, ungetc.
Fixes #50. R=r
https://golang.org/cl/154064
parent
8515a9f4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
cc.h
src/cmd/cc/cc.h
+3
-0
go.h
src/cmd/gc/go.h
+5
-0
No files found.
src/cmd/cc/cc.h
View file @
8c3d2f01
...
...
@@ -39,6 +39,9 @@
#define EXTERN extern
#endif
#define getc ccgetc
#define ungetc ccungetc
typedef
struct
Node
Node
;
typedef
struct
Sym
Sym
;
typedef
struct
Type
Type
;
...
...
src/cmd/gc/go.h
View file @
8c3d2f01
...
...
@@ -13,6 +13,11 @@
#ifndef EXTERN
#define EXTERN extern
#endif
#define getc gcgetc
#define ungetc gcungetc
enum
{
NHUNK
=
50000
,
...
...
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