ports/cad/opencascade/files/patch-src_Standard_Standard__CLocaleSentry.hxx
Thierry Thomas 82f832df60 Upgrade to 7.1.0.
Release notes at
https://www.opencascade.com/sites/default/files/documents/release_notes_7.1.0.pdf

PR:		220110
Submitted by:	tj+freebsd_portsxi (at) a13.fr
With bits from:	ml (at) netfence.it
2017-07-15 17:23:50 +00:00

11 lines
457 B
C++

--- src/Standard/Standard_CLocaleSentry.hxx.orig 2016-11-25 09:52:27 UTC
+++ src/Standard/Standard_CLocaleSentry.hxx
@@ -25,7 +25,7 @@
//! and become part of POSIX since '2008.
//! Notice that this is impossible to test (_POSIX_C_SOURCE >= 200809L)
//! since POSIX didn't declared such identifier.
- #if defined(__APPLE__)
+ #if defined(__APPLE__) || (defined(__FreeBSD__) && (__FreeBSD_version > 910000))
#define HAVE_XLOCALE_H
#endif