mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 06:10:30 -04:00
14 lines
409 B
C
14 lines
409 B
C
--- include/llvm/ADT/Triple.h.orig
|
|
+++ include/llvm/ADT/Triple.h
|
|
@@ -296,6 +296,11 @@
|
|
return isMacOSX() || getOS() == Triple::IOS;
|
|
}
|
|
|
|
+ /// isOSFreeBSD - Is this FreeBSD OS
|
|
+ bool isOSFreeBSD() const {
|
|
+ return getOS() == Triple::FreeBSD;
|
|
+ }
|
|
+
|
|
/// \brief Tests for either Cygwin or MinGW OS
|
|
bool isOSCygMing() const {
|
|
return getOS() == Triple::Cygwin || getOS() == Triple::MinGW32;
|