17 lines
373 B
Text
17 lines
373 B
Text
Fix for ports gcc as feof() is a macro
|
|
|
|
neon.cc:968:16: error: expected unqualified-id before '(' token
|
|
bool NeonFile::feof ()
|
|
|
|
Index: src/neon/neon.cc
|
|
--- src/neon/neon.cc.orig
|
|
+++ src/neon/neon.cc
|
|
@@ -45,6 +45,8 @@
|
|
#define NEON_ICY_BUFSIZE (4096)
|
|
#define NEON_RETRY_COUNT 6
|
|
|
|
+#undef feof
|
|
+
|
|
enum FillBufferResult {
|
|
FILL_BUFFER_SUCCESS,
|
|
FILL_BUFFER_ERROR,
|