Jan Breuer
2013-10-09 6416009acc49af3c67635b6a2e0bedae079bab6b
Add define for C30 not to have strnlen, strncasecmp
1个文件已修改
6 ■■■■■ 已修改文件
libscpi/inc/scpi/config.h 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
libscpi/inc/scpi/config.h
@@ -41,6 +41,12 @@
extern "C" {
#endif
/* PIC24 */
#if defined(__C30__)
#define HAVE_STRNLEN            0
#define HAVE_STRNCASECMP        0
#endif
/* ======== test strnlen ======== */
#ifndef HAVE_STRNLEN
#define HAVE_STRNLEN            1