Maat_rule.h中增加宏定义,保证必须使用C++编译器。

This commit is contained in:
zhengchao
2016-02-01 10:47:59 +08:00
parent 64268cc7b0
commit 0f1bc896cf

View File

@@ -13,6 +13,11 @@
*/
#ifndef H_MAAT_RULE_H_INCLUDE
#define H_MAAT_RULE_H_INCLUDE
#ifndef __cplusplus
#error("This file should be compiled with C++ compiler")
#endif
#include "stream.h"
enum MAAT_CHARSET
{