Files
swift-mirror/stdlib/public/Platform/visualc.modulemap
Saleem Abdulrasool f6dcc22598 platform: enhance the VisualC modulemap
Add the `vadefs` and `stdint` submodules.  These are required to get the
importing of the standard types (`intmax_t` and `uintptr_t`) correct
with the Visual C runtime.  This allows building the libdispatch Swift
overlay.
2018-04-04 14:27:54 -07:00

30 lines
716 B
Plaintext

//===--- visualc.modulemap ------------------------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/LICENSE.txt for license information
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//
module visualc [system] {
module SAL {
header "sal.h"
export *
}
module vadefs {
header "vadefs.h"
export *
}
module stdint {
header "stdint.h"
export *
}
}