diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-08-14 06:37:26 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-08-14 06:37:26 -0700 |
commit | fdde4f5cd3ae46c6c0e84d0cf240d80d61eb051d (patch) | |
tree | 55ac3f49acd9152d96f40c85ce9d4e85a694bdc1 /txr.c | |
parent | fdb54c85577859e26525463c2e21801cd9b2377c (diff) | |
download | txr-fdde4f5cd3ae46c6c0e84d0cf240d80d61eb051d.tar.gz txr-fdde4f5cd3ae46c6c0e84d0cf240d80d61eb051d.tar.bz2 txr-fdde4f5cd3ae46c6c0e84d0cf240d80d61eb051d.zip |
Fix TEXT macro clash on Windows.
* txr.c (TEXT): Undefined this macro after including <windows.h>.
It clashes with a TEXT macro in y.tab.h.
Diffstat (limited to 'txr.c')
-rw-r--r-- | txr.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -39,6 +39,7 @@ #endif #if HAVE_WINDOWS_H #include <windows.h> +#undef TEXT #endif #include "lib.h" #include "stream.h" |