From f4c93183c1552bbbcb5e4e5e6698c9c9eb4d2182 Mon Sep 17 00:00:00 2001 From: jiakai Date: Fri, 6 Jan 2017 13:40:42 +0800 Subject: [PATCH] add an empty function to avoid linking error for empty lib on some stupid platforms --- src/midout.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/midout.cpp b/src/midout.cpp index b9f8bfe..84aee46 100644 --- a/src/midout.cpp +++ b/src/midout.cpp @@ -1,5 +1,9 @@ #include "midout.h" +// to avoid linking error for empty lib on some stupid platforms +void midout_empty() { +} + #ifdef MIDOUT_PROFILING #include #include -- GitLab