Jan Breuer
2013-10-08 f781b03a23fa10dfb8644fa5b30aba519cbbec28
Merge pull request #7 from Shaun1/master

TRUE/FALSE ifndef
1个文件已修改
8 ■■■■ 已修改文件
libscpi/inc/scpi/types.h 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
libscpi/inc/scpi/types.h
@@ -47,8 +47,12 @@
extern "C" {
#endif
#define FALSE false
#define TRUE true
#ifndef FALSE
    #define FALSE 0
#endif
#ifndef TRUE
    #define TRUE (!FALSE)
#endif
    /* basic data types */
    typedef bool bool_t;