windows crappy tools dont know __func__

Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
Andy Green 2015-11-19 17:14:35 +08:00
parent eb15ea0198
commit adf9059d82

View 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;
};