Changeset 101780 in vbox
- Timestamp:
- Nov 4, 2023 6:57:12 PM (15 months ago)
- Location:
- trunk/src/libs/xpcom18a4
- Files:
-
- 2 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/Makefile.kmk
r101778 r101780 577 577 578 578 VBox-xpcom-nspr_SOURCES.linux = nsprpub/pr/src/md/unix/linux.c 579 VBox-xpcom-nspr_SOURCES.linux.x86 = nsprpub/pr/src/md/unix/os_Linux_x86.s580 VBox-xpcom-nspr_SOURCES.linux.amd64 = nsprpub/pr/src/md/unix/os_Linux_x86_64.s581 579 582 580 VBox-xpcom-nspr_SOURCES.solaris = nsprpub/pr/src/md/unix/solaris.c -
trunk/src/libs/xpcom18a4/nsprpub/pr/include/md/_linux.h
r1 r101780 89 89 #define USE_DLFCN 90 90 91 #if defined(__i386__) 92 #define _PR_HAVE_ATOMIC_OPS 93 #define _MD_INIT_ATOMIC() 94 extern PRInt32 _PR_x86_AtomicIncrement(PRInt32 *val); 95 #define _MD_ATOMIC_INCREMENT _PR_x86_AtomicIncrement 96 extern PRInt32 _PR_x86_AtomicDecrement(PRInt32 *val); 97 #define _MD_ATOMIC_DECREMENT _PR_x86_AtomicDecrement 98 extern PRInt32 _PR_x86_AtomicAdd(PRInt32 *ptr, PRInt32 val); 99 #define _MD_ATOMIC_ADD _PR_x86_AtomicAdd 100 extern PRInt32 _PR_x86_AtomicSet(PRInt32 *val, PRInt32 newval); 101 #define _MD_ATOMIC_SET _PR_x86_AtomicSet 102 #endif 103 104 #if defined(__ia64__) 105 #define _PR_HAVE_ATOMIC_OPS 106 #define _MD_INIT_ATOMIC() 107 extern PRInt32 _PR_ia64_AtomicIncrement(PRInt32 *val); 108 #define _MD_ATOMIC_INCREMENT _PR_ia64_AtomicIncrement 109 extern PRInt32 _PR_ia64_AtomicDecrement(PRInt32 *val); 110 #define _MD_ATOMIC_DECREMENT _PR_ia64_AtomicDecrement 111 extern PRInt32 _PR_ia64_AtomicAdd(PRInt32 *ptr, PRInt32 val); 112 #define _MD_ATOMIC_ADD _PR_ia64_AtomicAdd 113 extern PRInt32 _PR_ia64_AtomicSet(PRInt32 *val, PRInt32 newval); 114 #define _MD_ATOMIC_SET _PR_ia64_AtomicSet 115 #endif 116 117 #if defined(__x86_64__) 118 #define _PR_HAVE_ATOMIC_OPS 119 #define _MD_INIT_ATOMIC() 120 extern PRInt32 _PR_x86_64_AtomicIncrement(PRInt32 *val); 121 #define _MD_ATOMIC_INCREMENT _PR_x86_64_AtomicIncrement 122 extern PRInt32 _PR_x86_64_AtomicDecrement(PRInt32 *val); 123 #define _MD_ATOMIC_DECREMENT _PR_x86_64_AtomicDecrement 124 extern PRInt32 _PR_x86_64_AtomicAdd(PRInt32 *ptr, PRInt32 val); 125 #define _MD_ATOMIC_ADD _PR_x86_64_AtomicAdd 126 extern PRInt32 _PR_x86_64_AtomicSet(PRInt32 *val, PRInt32 newval); 127 #define _MD_ATOMIC_SET _PR_x86_64_AtomicSet 128 #endif 91 #include "_iprt_atomic.h" 129 92 130 93 #define USE_SETJMP
Note:
See TracChangeset
for help on using the changeset viewer.