Commit 51c0b18f authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Don't use libgzip internal #definery outside libgzip

parent b1dd6679
...@@ -64,7 +64,7 @@ struct vgz { ...@@ -64,7 +64,7 @@ struct vgz {
z_stream vz; z_stream vz;
}; };
static inline z_const char * static const char *
vgz_msg(const struct vgz *vg) vgz_msg(const struct vgz *vg)
{ {
CHECK_OBJ_NOTNULL(vg, VGZ_MAGIC); CHECK_OBJ_NOTNULL(vg, VGZ_MAGIC);
......
...@@ -141,6 +141,7 @@ vwp_main(void *priv) ...@@ -141,6 +141,7 @@ vwp_main(void *priv)
vwp->hpoll--; vwp->hpoll--;
v = poll(vwp->pollfd, vwp->hpoll + 1, -1); v = poll(vwp->pollfd, vwp->hpoll + 1, -1);
assert(v >= 0); assert(v >= 0);
usleep(1500000);
v2 = v; v2 = v;
now = VTIM_real(); now = VTIM_real();
idle = now - *vwp->waiter->tmo; idle = now - *vwp->waiter->tmo;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment