Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
72afe6ee
Commit
72afe6ee
authored
Mar 06, 2012
by
pliard@google.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix build error in Mac atomicops.
parent
324779ad
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
atomicops_internals_x86_macosx.h
src/google/protobuf/stubs/atomicops_internals_x86_macosx.h
+6
-6
platform_macros.h
src/google/protobuf/stubs/platform_macros.h
+3
-3
No files found.
src/google/protobuf/stubs/atomicops_internals_x86_macosx.h
View file @
72afe6ee
...
...
@@ -252,7 +252,7 @@ inline AtomicWord Barrier_AtomicIncrement(volatile AtomicWord* ptr,
inline
AtomicWord
Acquire_CompareAndSwap
(
volatile
AtomicWord
*
ptr
,
AtomicWord
old_value
,
AtomicWord
new_value
)
{
return
v8
::
internal
::
Acquire_CompareAndSwap
(
return
Acquire_CompareAndSwap
(
reinterpret_cast
<
volatile
AtomicWordCastType
*>
(
ptr
),
old_value
,
new_value
);
}
...
...
@@ -260,7 +260,7 @@ inline AtomicWord Acquire_CompareAndSwap(volatile AtomicWord* ptr,
inline
AtomicWord
Release_CompareAndSwap
(
volatile
AtomicWord
*
ptr
,
AtomicWord
old_value
,
AtomicWord
new_value
)
{
return
v8
::
internal
::
Release_CompareAndSwap
(
return
Release_CompareAndSwap
(
reinterpret_cast
<
volatile
AtomicWordCastType
*>
(
ptr
),
old_value
,
new_value
);
}
...
...
@@ -271,12 +271,12 @@ inline void NoBarrier_Store(volatile AtomicWord* ptr, AtomicWord value) {
}
inline
void
Acquire_Store
(
volatile
AtomicWord
*
ptr
,
AtomicWord
value
)
{
return
v8
::
internal
::
Acquire_Store
(
return
Acquire_Store
(
reinterpret_cast
<
volatile
AtomicWordCastType
*>
(
ptr
),
value
);
}
inline
void
Release_Store
(
volatile
AtomicWord
*
ptr
,
AtomicWord
value
)
{
return
v8
::
internal
::
Release_Store
(
return
Release_Store
(
reinterpret_cast
<
volatile
AtomicWordCastType
*>
(
ptr
),
value
);
}
...
...
@@ -286,12 +286,12 @@ inline AtomicWord NoBarrier_Load(volatile const AtomicWord* ptr) {
}
inline
AtomicWord
Acquire_Load
(
volatile
const
AtomicWord
*
ptr
)
{
return
v8
::
internal
::
Acquire_Load
(
return
Acquire_Load
(
reinterpret_cast
<
volatile
const
AtomicWordCastType
*>
(
ptr
));
}
inline
AtomicWord
Release_Load
(
volatile
const
AtomicWord
*
ptr
)
{
return
v8
::
internal
::
Release_Load
(
return
Release_Load
(
reinterpret_cast
<
volatile
const
AtomicWordCastType
*>
(
ptr
));
}
...
...
src/google/protobuf/stubs/platform_macros.h
View file @
72afe6ee
...
...
@@ -55,7 +55,7 @@
#define GOOGLE_PROTOBUF_HOST_ARCH_MIPS 1
#define GOOGLE_PROTOBUF_HOST_ARCH_32_BIT 1
#else
#error Host architecture was not detected as supported by
v8
#error Host architecture was not detected as supported by
protobuf
#endif
// Target architecture detection. This may be set externally. If not, detect
...
...
@@ -74,7 +74,7 @@
#elif defined(__MIPSEL__)
#define GOOGLE_PROTOBUF_TARGET_ARCH_MIPS 1
#else
#error Target architecture was not detected as supported by
v8
#error Target architecture was not detected as supported by
protobuf
#endif
#endif
...
...
@@ -111,7 +111,7 @@
#endif
#elif GOOGLE_PROTOBUF_TARGET_ARCH_MIPS
#else
#error Target architecture is not supported by
v8
#error Target architecture is not supported by
protobuf
#endif
#if (defined(__APPLE__) && defined(__MACH__)) || \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment