//===--- module.map -------------------------------------------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http://swift.org/LICENSE.txt for license information // See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors // //===----------------------------------------------------------------------===// /// This is an incomplete modulemap that maps glibc's headers in a roughly /// similar way to the Darwin SDK modulemap. /// It's not named just Glibc so that it doesn't conflict in the event of a /// future official glibc modulemap. module SwiftGlibc [system] { // C standard library module C { module errno { header "/usr/include/errno.h" export * } module signal { header "/usr/include/signal.h" export * } module stdio { header "/usr/include/stdio.h" export * } module stdlib { header "/usr/include/stdlib.h" export * export stddef } module string { header "/usr/include/string.h" export * } } // POSIX module POSIX { module pthread { header "/usr/include/pthread.h" export * } module spawn { header "/usr/include/spawn.h" export * } module fcntl { header "/usr/include/fcntl.h" export * } module wait { header "/usr/include/wait.h" export * } module unistd { header "/usr/include/unistd.h" export * } } }