Changeset 5b12dbb in mainline
- Timestamp:
- 2018-07-05T21:41:25Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 73401643
- Parents:
- dfadf7e
- git-author:
- Dzejrou <dzejrou@…> (2018-06-28 19:40:08)
- git-committer:
- Dzejrou <dzejrou@…> (2018-07-05 21:41:25)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/cpp/src/__bits/glue.cpp
rdfadf7e r5b12dbb 38 38 * the compiler, so we need to define stubs for our library 39 39 * to compile on this architecture. 40 * TODO: make this synchronized 40 41 */ 41 42 extern "C" … … 53 54 54 55 #define LIBCPP_GLUE_CMP_AND_SWAP(TYPE, SIZE) \ 55 TYPE __sync_ compare_and_swap_##SIZE (TYPE* ptr, TYPE old_val, TYPE new_val) \56 TYPE __sync_val_compare_and_swap_##SIZE (TYPE* ptr, TYPE old_val, TYPE new_val) \ 56 57 { \ 57 58 if (*ptr == old_val) \
Note:
See TracChangeset
for help on using the changeset viewer.