From: Andy Green Date: Thu, 19 Nov 2015 09:14:35 +0000 (+0800) Subject: windows crappy tools dont know __func__ X-Git-Tag: upstream/1.7.3~292 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=adf9059d8211bcc8444881b73658a0795035604a;p=platform%2Fupstream%2Flibwebsockets.git windows crappy tools dont know __func__ Signed-off-by: Andy Green --- diff --git a/test-server/test-server.h b/test-server/test-server.h index a2e0fa5..73805eb 100644 --- a/test-server/test-server.h +++ b/test-server/test-server.h @@ -35,6 +35,10 @@ extern volatile int force_exit; extern struct libwebsocket_context *context; extern char *resource_path; +#ifndef __func__ +#define __func__ __FUNCTION__ +#endif + struct per_session_data__http { int fd; };