mirror of
https://github.com/golang/go
synced 2024-11-12 09:10:21 -07:00
avoid clash with stdio's getc, ungetc.
Fixes #50. R=r https://golang.org/cl/154064
This commit is contained in:
parent
8515a9f4e2
commit
8c3d2f015b
@ -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;
|
||||
|
@ -13,6 +13,11 @@
|
||||
#ifndef EXTERN
|
||||
#define EXTERN extern
|
||||
#endif
|
||||
|
||||
|
||||
#define getc gcgetc
|
||||
#define ungetc gcungetc
|
||||
|
||||
enum
|
||||
{
|
||||
NHUNK = 50000,
|
||||
|
Loading…
Reference in New Issue
Block a user