Try using: exclude header "/path/to/header.h" in the module definition.
- Daniel > On Dec 4, 2015, at 3:06 PM, Harlan Haskins <har...@harlanhaskins.com> wrote: > > Hi all, > > Is there a way to ignore a specific header file when declaring a C > dependency? I’m working with a library that publicly declares `flash` as a > struct, and that conflicts with `ncurses`’s definition of `flash`. His code > makes no use of curses.h, and I won’t be using it either. > > Is there any way I can specifically exclude `curses.h` from my modulemap > file? It’s a very simple file. > > module CFlipper [system] { > umbrella "/usr/local/include/flipper/" > link "flipper" > export * > } > > _______________________________________________ > swift-users mailing list > swift-users@swift.org > https://lists.swift.org/mailman/listinfo/swift-users
_______________________________________________ swift-users mailing list swift-users@swift.org https://lists.swift.org/mailman/listinfo/swift-users