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 516cea4 commit 2cfafabCopy full SHA for 2cfafab
src/backend/storage/lmgr/s_lock.c
@@ -231,7 +231,7 @@ static void
231
tas_dummy()
232
{
233
__asm__ __volatile__(
234
-#if defined(__NetBSD__) && defined(__ELF__)
+#if (defined(__NetBSD__) || defined(__OpenBSD__)) && defined(__ELF__)
235
/* no underscore for label and % for registers */
236
"\
237
.global tas \n\
@@ -256,7 +256,7 @@ _tas: \n\
256
_success: \n\
257
moveq #0,d0 \n\
258
rts \n"
259
-#endif /* __NetBSD__ && __ELF__ */
+#endif /* (__NetBSD__ || __OpenBSD__) && __ELF__ */
260
);
261
}
262
#endif /* __m68k__ && !__linux__ */
0 commit comments