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 f3bd00c commit 84669c9Copy full SHA for 84669c9
src/backend/storage/lmgr/s_lock.c
@@ -251,7 +251,7 @@ static void
251
tas_dummy()
252
{
253
__asm__ __volatile__(
254
-#if defined(__NetBSD__) && defined(__ELF__)
+#if (defined(__NetBSD__) || defined(__OpenBSD__)) && defined(__ELF__)
255
/* no underscore for label and % for registers */
256
"\
257
.global tas \n\
@@ -276,7 +276,7 @@ _tas: \n\
276
_success: \n\
277
moveq #0,d0 \n\
278
rts \n"
279
-#endif /* __NetBSD__ && __ELF__ */
+#endif /* (__NetBSD__ || __OpenBSD__) && __ELF__ */
280
);
281
}
282
#endif /* __m68k__ && !__linux__ */
0 commit comments