TIP: Click on subject to list as thread! ANSI
echo: fidosoft.husky
to: Tommi Koivula
from: Michael Dukelsky
date: 2021-01-30 18:18:00
subject: EMX

Hello Tommi,

Saturday January 30 2021, Tommi Koivula wrote to All:

 TK> Pulled the newest source. Problems with "gcc version 3.3.5 (Bird Build
 TK> 2014-10-26 18:53 (csd6))" on OS/2.

Please try this in hpt:

diff --git a/src/link.c b/src/link.c
index c085628..d6cd63c 100644
-+- a/src/link.c
+++ b/src/link.c
@@ -278,7 +278,9 @@ int linkArea(s_area * area, int netMail)
             _grow_handles(msgsNum + 20);
         }

-#else /* EMX */ {
+#else
+        {
+            /* EMX */
             DosSetMaxFH(msgsNum + 20);
         }
 #endif

and in huskylib

diff --git a/huskylib/EMX.h b/huskylib/EMX.h
index 8d9def8..facec0b 100644
-+- a/huskylib/EMX.h
+++ b/huskylib/EMX.h
@@ -53,11 +53,11 @@
 #  define cdecl
 #  define pascal
 #if defined (__32BIT__)
-#define near
+    #define near
     #undef  far
-#define far
-#define farread(a, b, c) read(a, b, c)
-#define farwrite(a, b, c) write(a, b, c)
+    #define far
+    #define farread(a, b, c) read(a, b, c)
+    #define farwrite(a, b, c) write(a, b, c)
 #endif

 #  define mymkdir(a) mkdir((a), 0)


Michael

... node (at) f1042 (dot) ru
--- GoldED+/LNX 1.1.5-b20180707
                                                                                                               
* Origin: Moscow, Russia (2:5020/1042)

SOURCE: echomail via QWK@pharcyde.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.