On targets without EV_USE_INOTIFY, lack of this #if wrapper results in:
libev/ev.c:1288: warning: ‘infy_fork’ declared ‘static’ but never defined
At least for me using it embedded with my compiler/cflags/etc (which
include -Werror, which is what makes it a pain why I compile on targets
with pre-inotify glibc). For whatever reasons the gcc pragma
"system_header" I'm using to suppress the rest of the libev warnings
doesn't suppress this one.
=== libev/ev.c
==================================================================
--- libev/ev.c (revision 595)
+++ libev/ev.c (local)
@@ -1285,7 +1285,9 @@
backend = 0;
}
+#if EV_USE_INOTIFY
void inline_size infy_fork (EV_P);
+#endif
void inline_size
loop_fork (EV_P)
_______________________________________________
libev mailing list
libev@lists.schmorp.de
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev