Skip to content

Commit 3f6ede7

Browse files
authored
Merge pull request #7923 from gonzalolarralde/SR-4166-error-compiling-stdlib-sutubs-cpp-for-arm
fix SR-4166: __mode__ attribute presence check changed.
2 parents 871dc6f + 85f3fd1 commit 3f6ede7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/stubs/Stubs.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ __muloti4(ti_int a, ti_int b, int* overflow)
396396
// some other lower-level architecture issue that I'm
397397
// missing. Perhaps relevant bug report:
398398
// FIXME: https://llvm.org/bugs/show_bug.cgi?id=14469
399-
#if __has_attribute(__mode__(DI))
399+
#if __has_attribute(__mode__)
400400
#define SWIFT_MODE_DI __attribute__((__mode__(DI)))
401401
#else
402402
#define SWIFT_MODE_DI

0 commit comments

Comments
 (0)