Diff of /src/runtime/x86-64-arch.c [233cf1] .. [c06b8c] Maximize Restore

  Switch to side-by-side view

--- a/src/runtime/x86-64-arch.c
+++ b/src/runtime/x86-64-arch.c
@@ -68,7 +68,7 @@
      * we need to do this nasty absolute index magic number thing
      * instead. */
     return &context->uc_mcontext.gregs[17];
-#elif defined LISP_FEATURE_FREEBSD
+#elif defined LISP_FEATURE_FREEBSD || defined(__DragonFly__)
     return &context->uc_mcontext.mc_rflags;
 #elif defined LISP_FEATURE_DARWIN
     return CONTEXT_ADDR_FROM_STEM(rflags);