Commit 8c3d2f01 authored by Russ Cox's avatar Russ Cox

avoid clash with stdio's getc, ungetc.

Fixes #50.

R=r
https://golang.org/cl/154064
parent 8515a9f4
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment