projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4884517
)
#undef close which was causing problems on w32
author
John Darrington
<john@darrington.wattle.id.au>
Sat, 11 Jul 2020 05:09:11 +0000
(07:09 +0200)
committer
John Darrington
<john@darrington.wattle.id.au>
Sat, 11 Jul 2020 05:09:11 +0000
(07:09 +0200)
src/data/any-reader.c
patch
|
blob
|
history
diff --git
a/src/data/any-reader.c
b/src/data/any-reader.c
index a77fa2793f59e8dc028d1367d5781093afca3d50..8ece73f62bb85ffc50941f8983e6bc4fd235f062 100644
(file)
--- a/
src/data/any-reader.c
+++ b/
src/data/any-reader.c
@@
-129,6
+129,10
@@
any_reader_open (struct file_handle *handle)
NOT_REACHED ();
}
+/* gnulib on some systems defines "close" as something else,
+ which causes problems for this code. So undefine it here. */
+#undef close
+
bool
any_reader_close (struct any_reader *any_reader)
{