windows crappy tools dont know __func__
authorAndy Green <andy.green@linaro.org>
Thu, 19 Nov 2015 09:14:35 +0000 (17:14 +0800)
committerAndy Green <andy.green@linaro.org>
Thu, 19 Nov 2015 09:14:35 +0000 (17:14 +0800)
Signed-off-by: Andy Green <andy.green@linaro.org>
test-server/test-server.h

index a2e0fa5..73805eb 100644 (file)
@@ -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;
 };