Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/libc++/dist/libcxxrt/src Define guard_lock_t on...



details:   https://anonhg.NetBSD.org/src/rev/f6da3420c522
branches:  trunk
changeset: 330950:f6da3420c522
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri Jul 25 16:25:24 2014 +0000

description:
Define guard_lock_t on 32bit Big Endian platforms too.

diffstat:

 external/bsd/libc++/dist/libcxxrt/src/guard.cc |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 192fe5620546 -r f6da3420c522 external/bsd/libc++/dist/libcxxrt/src/guard.cc
--- a/external/bsd/libc++/dist/libcxxrt/src/guard.cc    Fri Jul 25 16:23:13 2014 +0000
+++ b/external/bsd/libc++/dist/libcxxrt/src/guard.cc    Fri Jul 25 16:25:24 2014 +0000
@@ -88,12 +88,12 @@
 #define LOCK_PART(guard) (guard)
 #define INIT_PART(guard) (guard)
 #else
+typedef uint32_t guard_lock_t;
 #      if defined(__LITTLE_ENDIAN__)
 typedef struct {
        uint32_t init_half;
        uint32_t lock_half;
 } guard_t;
-typedef uint32_t guard_lock_t;
 static const uint32_t LOCKED = static_cast<guard_lock_t>(1) << 31;
 static const uint32_t INITIALISED = 1;
 #      else



Home | Main Index | Thread Index | Old Index