# HG changeset patch
# User David A. Holland
# Date 1653973122 14400
# Node ID aab9ff6af7915ee9042e19c93cbcee22ccaaf321
# Parent  3aa0f5a02342b824dd355079ab139e639c8d269a
Strengthen the build hack for non-DOS targets.

diff -r 3aa0f5a02342 -r aab9ff6af791 examples/dsl/screen.cpp
--- a/examples/dsl/screen.cpp	Tue May 31 00:54:12 2022 -0400
+++ b/examples/dsl/screen.cpp	Tue May 31 00:58:42 2022 -0400
@@ -38,7 +38,9 @@
 /* This is only meant to compile, not run. (Unix, Windows) */
 #define far
 union REGS { struct { unsigned short ah, bh, dl, dh; } h; };
-void INT(unsigned long, union REGS *, union REGS *) {}
+void INT(unsigned long, union REGS *, union REGS *dst) {
+   dst->h.ah = dst->h.bh = dst->h.dl = dst->h.dh = 0;
+}
 #endif
 
 /*****