Maat_rule.h中增加宏定义,保证必须使用C++编译器。
This commit is contained in:
@@ -13,6 +13,9 @@
|
|||||||
*/
|
*/
|
||||||
#ifndef H_MAAT_RULE_H_INCLUDE
|
#ifndef H_MAAT_RULE_H_INCLUDE
|
||||||
#define 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"
|
#include "stream.h"
|
||||||
enum MAAT_CHARSET
|
enum MAAT_CHARSET
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user