ports/lang/clang33/files/patch-include_llvm_ADT_Triple.h
Mathieu Arnold 6172d4b590 Remove $FreeBSD$ from patches files everywhere.
With hat:	portmgr
Sponsored by:	Absolight
2015-05-22 20:34:27 +00:00

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;