m93g0105 发表于 2015-5-21 11:00:16

SPP debug

SPP_DEBUG_LIB macro要怎麼開?有人知道嗎?

yelanghada 发表于 2015-5-22 00:39:31

#define SPP_DEBUG_LIB
#ifdef SPP_DEBUG_LIB
#include <stdio.h>
#define SPP_DEBUG(x) {printf x; Panic();}
#define SPP_PRINT(x) {printf x;}
#else
#define SPP_DEBUG(x)
#define SPP_PRINT(x)
#endif

再编译一下库。

m93g0105 发表于 2015-5-22 08:50:07

:):):):):):):):):):)

可以了謝謝!






376460392 发表于 2016-8-3 08:54:21

:):):):):):):):):):):)

stary 发表于 2016-8-3 09:30:19

:loveliness::loveliness:
页: [1]
查看完整版本: SPP debug