We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bf45bcd + 01d48e0 commit 2611686Copy full SHA for 2611686
include/swift/Runtime/Config.h
@@ -168,6 +168,14 @@ extern uintptr_t __COMPATIBILITY_LIBRARIES_CANNOT_CHECK_THE_IS_SWIFT_BIT_DIRECTL
168
// Bring in visibility attribute macros
169
#include "swift/shims/Visibility.h"
170
171
+// Temporary definitions to allow compilation on clang-15.
172
+#if defined(__cplusplus)
173
+#define SWIFT_EXTERN_C extern "C"
174
+#else
175
+#define SWIFT_EXTERN_C
176
+#endif
177
+#define SWIFT_RUNTIME_EXPORT_ATTRIBUTE SWIFT_EXPORT_FROM_ATTRIBUTE(swiftCore)
178
+
179
// Define mappings for calling conventions.
180
181
// Annotation for specifying a calling convention of
0 commit comments