From 91adc2849b8d1f7a8346e1eb50e8df6732f7c664 Mon Sep 17 00:00:00 2001 From: carl Date: Sun, 17 Mar 2019 22:22:29 +0800 Subject: [PATCH] + Have the DEBUG version compile --- modules/src/idf/idf_pkg.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/src/idf/idf_pkg.spec b/modules/src/idf/idf_pkg.spec index 3db6b9d5f..eb7b63497 100644 --- a/modules/src/idf/idf_pkg.spec +++ b/modules/src/idf/idf_pkg.spec @@ -43,3 +43,7 @@ extern void init_idf(void); struct idf *str2idf(char* tg, int cp); #define findidf(tg) str2idf(tg, -1) + +#ifdef IDF_DEBUG +void idfappfun(int (*fun)(struct idf *, int), int opt); +#endif