1
0
mirror of https://github.com/golang/go synced 2024-09-25 09:10:14 -06:00

avoid clash with stdio's getc, ungetc.

Fixes #50.

R=r
https://golang.org/cl/154064
This commit is contained in:
Russ Cox 2009-11-11 13:08:35 -08:00
parent 8515a9f4e2
commit 8c3d2f015b
2 changed files with 8 additions and 0 deletions

View File

@ -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;

View File

@ -13,6 +13,11 @@
#ifndef EXTERN
#define EXTERN extern
#endif
#define getc gcgetc
#define ungetc gcungetc
enum
{
NHUNK = 50000,