From fa2fbe944f195b58dfa53957259e18ea94705b7a Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Wed, 30 Apr 2014 16:46:46 +0200 Subject: [PATCH] Fix GCC build with -Werror libevent-server.c:691:8: error: C++ style comments are not allowed in ISO C90 --- examples/libevent-server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/libevent-server.c b/examples/libevent-server.c index 1f515d13..46eef12c 100644 --- a/examples/libevent-server.c +++ b/examples/libevent-server.c @@ -688,7 +688,7 @@ static void start_listen(struct event_base *evbase, const char *service, hints.ai_flags = AI_PASSIVE; #ifdef AI_ADDRCONFIG hints.ai_flags |= AI_ADDRCONFIG; -#endif // AI_ADDRCONFIG +#endif /* AI_ADDRCONFIG */ rv = getaddrinfo(NULL, service, &hints, &res); if(rv != 0) {