当在同一个文件中, 引入了两库,并且两个库的头文件都包含同名结构体 S, 那么可以使用 include "A.h" define S BS include "B.h" 转载于:https://www.cnblogs.com/CircleMono/p/8612114.html