8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bd8b4b commit 13f2bdbCopy full SHA for 13f2bdb
src/backend/storage/lmgr/s_lock.c
@@ -219,7 +219,7 @@ static void
219
tas_dummy()
220
{
221
__asm__ __volatile__(
222
-#if defined(__NetBSD__) && defined(__ELF__)
+#if (defined(__NetBSD__) || defined(__OpenBSD__)) && defined(__ELF__)
223
/* no underscore for label and % for registers */
224
"\
225
.global tas \n\
@@ -244,7 +244,7 @@ _tas: \n\
244
_success: \n\
245
moveq #0,d0 \n\
246
rts \n"
247
-#endif /* __NetBSD__ && __ELF__ */
+#endif /* (__NetBSD__ || __OpenBSD__) && __ELF__ */
248
);
249
}
250
#endif /* __m68k__ && !__linux__ */
0 commit comments