ChangeLog: https://geant4.web.cern.ch/download/release-notes/notes-v11.2.0.html PR: 275679 Reported by: erik@tenku.dk (maintainer)
13 lines
614 B
C++
13 lines
614 B
C++
--- source/global/management/include/tls.hh.orig 2023-12-10 14:36:39 UTC
|
|
+++ source/global/management/include/tls.hh
|
|
@@ -39,7 +39,8 @@
|
|
|
|
# if defined(G4MULTITHREADED)
|
|
# if(defined(__MACH__) && defined(__clang__)) || \
|
|
- (defined(__linux__) && defined(__clang__))
|
|
+ (defined(__linux__) && defined(__clang__)) || \
|
|
+ (defined(__FreeBSD__) && defined(__clang__))
|
|
# define G4ThreadLocalStatic static thread_local
|
|
# define G4ThreadLocal thread_local
|
|
# elif((defined(__linux__) || defined(__MACH__)) && \
|