mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
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.
30 lines
716 B
Plaintext
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 *
|
|
}
|
|
}
|
|
|