mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
- Fix buld with gcc42.
Submitted by: pointyhat via kris Approved by: miwi (mentor)
This commit is contained in:
parent
8b75a1af63
commit
8de72e58aa
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=193741
@ -1,12 +1,16 @@
|
||||
--- encfs/PtrImpl.h.orig Fri Apr 15 11:34:22 2005
|
||||
+++ encfs/PtrImpl.h Thu Jan 18 22:34:52 2007
|
||||
@@ -26,6 +26,16 @@
|
||||
--- encfs/PtrImpl.h.orig Wed Feb 14 22:36:56 2007
|
||||
+++ encfs/PtrImpl.h Thu Jun 14 18:04:10 2007
|
||||
@@ -26,6 +26,20 @@
|
||||
|
||||
#include "OpaqueValue.h"
|
||||
|
||||
+#include "config.h"
|
||||
+#if defined(HAVE_ATOMIC_GCC) || defined(HAVE_ATOMIC_GCC_PRIVATE)
|
||||
+#if (__GNUC__ >= 4 && __GNUC_MINOR__ >= 2)
|
||||
+#include <ext/atomicity.h>
|
||||
+#else
|
||||
+#include <bits/atomicity.h>
|
||||
+#endif
|
||||
+#define HAVE_ATOMIC_FUNCS
|
||||
+#endif
|
||||
+
|
||||
@ -17,7 +21,7 @@
|
||||
namespace rel
|
||||
{
|
||||
|
||||
@@ -55,7 +65,12 @@
|
||||
@@ -55,7 +69,12 @@
|
||||
virtual void destroy() =0;
|
||||
|
||||
protected:
|
||||
|
Loading…
Reference in New Issue
Block a user