From aea81e4a1ae96a8bd93789556d252cce335ea197 Mon Sep 17 00:00:00 2001 From: ZengYingpei Date: Sun, 4 Feb 2018 14:21:52 +0800 Subject: Add an Xcode project for debugging under MacOS (add all missed files) --- example/ndpiReader.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'example/ndpiReader.c') diff --git a/example/ndpiReader.c b/example/ndpiReader.c index 202de40d4..38ce75b14 100644 --- a/example/ndpiReader.c +++ b/example/ndpiReader.c @@ -3135,7 +3135,11 @@ static void produceBpfFilter(char *filePath) { /** @brief MAIN FUNCTION **/ +#ifdef APP_HAS_OWN_MAIN +int orginal_main(int argc, char **argv) { +#else int main(int argc, char **argv) { +#endif int i; automataUnitTest(); -- cgit v1.2.3