aboutsummaryrefslogtreecommitdiffstats
path: root/json-lexer.c
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@android.com>2010-05-11 19:35:02 -0700
committerDavid 'Digit' Turner <digit@android.com>2010-05-11 19:35:02 -0700
commita2cb54380beeb18f20a21922a2c01687117931ba (patch)
treeac7f379ca97eebcae23629e32741c95b04587476 /json-lexer.c
parentdd9cb7929e2b98bf9f8017ebbd7e433d38541664 (diff)
downloadexternal_qemu-a2cb54380beeb18f20a21922a2c01687117931ba.zip
external_qemu-a2cb54380beeb18f20a21922a2c01687117931ba.tar.gz
external_qemu-a2cb54380beeb18f20a21922a2c01687117931ba.tar.bz2
Fix Windows SDK build. It seems it defines ERROR as a macro somewhere.
Change-Id: I35e1995add0faa00b336c4ef470a93b1c5de5a31
Diffstat (limited to 'json-lexer.c')
-rw-r--r--json-lexer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/json-lexer.c b/json-lexer.c
index 9d64920..e9a61db 100644
--- a/json-lexer.c
+++ b/json-lexer.c
@@ -27,6 +27,8 @@
*
*/
+#undef ERROR
+
enum json_lexer_state {
ERROR = 0,
IN_DONE_STRING,