Browse Source

* attempt to fix #39900

florian 2 years ago
parent
commit
1853e94b98
1 changed files with 2 additions and 2 deletions
  1. 2 2
      packages/rtl-console/src/unix/mouse.pp

+ 2 - 2
packages/rtl-console/src/unix/mouse.pp

@@ -16,11 +16,11 @@
 unit Mouse;
 interface
 
-{$if defined(aix) or defined(solaris)}
+{$if defined(aix) or defined(solaris) or (defined(bsd) and not(defined(darwin)))}
 {$define NOMOUSE}
 {$endif}
 
-{$if defined(bsd) or defined(haiku) or defined(beos)}
+{$if defined(darwin) or defined(haiku) or defined(beos)}
 {$define NOGPM}
 {$endif}