]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/16_hc.c
the near malloc is messy!! wwww
[16.git] / src / lib / 16_hc.c
index df9602d8542e10e39bab97ff7146978caf0c7756..a904560abae3e5c8f15dd9c056c80a2d81057463 100644 (file)
 
 int heaphandle;
 
+#ifdef __BORLANDC__
+void * LargestFreeBlock(size_t* Size)
+#endif
+#ifdef __WATCOMC__
 void __near* LargestFreeBlock(size_t* Size)
+#endif
 {
        size_t s0, s1;
+#ifdef __BORLANDC__
+       void * p;
+#endif
+#ifdef __WATCOMC__
        void __near* p;
+#endif
 
        s0 = ~(size_t)0 ^ (~(size_t)0 >> 1);
 #ifdef __BORLANDC__