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.
1 parent 9017b84 commit 0c1941cCopy full SHA for 0c1941c
clang/lib/Basic/Targets.cpp
@@ -490,6 +490,10 @@ class SolarisTargetInfo : public OSTargetInfo<Target> {
490
Builder.defineMacro("__ELF__");
491
Builder.defineMacro("__svr4__");
492
Builder.defineMacro("__SVR4");
493
+ Builder.defineMacro("_XOPEN_SOURCE", "500");
494
+ Builder.defineMacro("_LARGEFILE_SOURCE");
495
+ Builder.defineMacro("_LARGEFILE64_SOURCE");
496
+ Builder.defineMacro("__EXTENSIONS__");
497
}
498
public:
499
SolarisTargetInfo(const std::string& triple)
0 commit comments