summaryrefslogtreecommitdiff
path: root/cad/opencascade/files/patch-src_Standard_Standard__CLocaleSentry.hxx
blob: 70991f6e04995f772ababc4505b37e74e8674eec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/Standard/Standard_CLocaleSentry.hxx.orig	2025-02-17 22:00:23 UTC
+++ src/Standard/Standard_CLocaleSentry.hxx
@@ -32,7 +32,7 @@
   //! 200809L)) due to missing such declarations in standard. On macOS new functions are declared
   //! within "xlocale.h" header (the same is for glibc, but this header has been removed since
   //! glibc 2.26).
-  #if defined(__APPLE__)
+  #if defined(__APPLE__) || (defined(__FreeBSD__) && (__FreeBSD_version > 910000))
     #define OCCT_CLOCALE_POSIX2008
   #endif