From 3684e5daa029f4c2de7fb80f9813abeb62e57424 Mon Sep 17 00:00:00 2001 From: Gerhard Rieger Date: Wed, 24 Sep 2008 16:15:11 +0200 Subject: [PATCH] added genericsocket to -V --- socat.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/socat.c b/socat.c index cee4191..470ad23 100644 --- a/socat.c +++ b/socat.c @@ -428,6 +428,11 @@ void socat_version(FILE *fd) { #else fputs(" #undef WITH_RAWIP\n", fd); #endif +#ifdef WITH_GENERICSOCKET + fprintf(fd, " #define WITH_GENERICSOCKET %d\n", WITH_GENERICSOCKET); +#else + fputs(" #undef WITH_GENERICSOCKET\n", fd); +#endif #ifdef WITH_INTERFACE fprintf(fd, " #define WITH_INTERFACE %d\n", WITH_INTERFACE); #else