diff --git a/util/numpyConfig.h b/util/numpyConfig.h index c1b3edd..bbc7789 100644 --- a/util/numpyConfig.h +++ b/util/numpyConfig.h @@ -1,15 +1,12 @@ // numpy_config.h -#ifndef MY_HEADER_H_ -#define MY_HEADER_H_ +#ifndef NUMPY_CONFIG_INCLUDED +#define NUMPY_CONFIG_INCLUDED // 使用更独特的项目前缀(建议:__) #define PY_ARRAY_UNIQUE_SYMBOL RTC_PLUGINS_7A3B_ARRAY_API #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION -#endif // 确保只被包含一次 -#ifndef NUMPY_CONFIG_INCLUDED -#define NUMPY_CONFIG_INCLUDED #include #include #endif \ No newline at end of file