浏览代码

add mechanism for configuring squirrel by #including _SQ_CONFIG_INCLUDE, if it exists

zeromus 9 年之前
父节点
当前提交
e618271e11
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      include/squirrel.h

+ 4 - 0
include/squirrel.h

@@ -22,6 +22,10 @@ THE SOFTWARE.
 #ifndef _SQUIRREL_H_
 #define _SQUIRREL_H_
 
+#ifdef _SQ_CONFIG_INCLUDE
+#include _SQ_CONFIG_INCLUDE
+#endif
+
 #ifdef __cplusplus
 extern "C" {
 #endif