Skip to content

Commit 85f3fd1

Browse files
[SR-4166] Change on how __mode__ attribute presence is checked to fix compilation issue.
1 parent 7af65d9 commit 85f3fd1

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)