- Fix build with gcc 4.2
PR: 114745 Submitted by: Matthias Sund <m.sund@arcor.de> (maintainer)
This commit is contained in:
parent
b7732c6bd4
commit
ef5eac6fc1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=196422
1 changed files with 19 additions and 0 deletions
19
devel/upp/files/patch-uppsrc-Core-Core.h
Normal file
19
devel/upp/files/patch-uppsrc-Core-Core.h
Normal file
|
@ -0,0 +1,19 @@
|
|||
--- uppsrc/Core/Core.h.orig Thu Jul 19 19:57:53 2007
|
||||
+++ uppsrc/Core/Core.h Thu Jul 19 19:59:16 2007
|
||||
@@ -300,8 +300,16 @@
|
||||
#include <string>
|
||||
|
||||
#ifdef PLATFORM_POSIX
|
||||
+#ifdef COMPILER_GCC
|
||||
+#if __GNUC__ > 3
|
||||
+#include <ext/atomicity.h>
|
||||
+#else
|
||||
+#include <bits/atomicity.h>
|
||||
+#endif
|
||||
+#else
|
||||
#include <bits/atomicity.h>
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
// fix MSC8 beta problem....
|
||||
#ifdef COMPILER_MSC
|
Loading…
Reference in a new issue