home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / mint / lib / mlib43d.zoo / diffh < prev    next >
Encoding:
Text File  |  1994-02-13  |  3.0 KB  |  134 lines

  1. *** 42.1    1994/01/16 14:54:44
  2. --- ./PatchLev.h    1994/01/16 15:03:24
  3. ***************
  4. *** 3,6 ****
  5.    *    directory.
  6.    */
  7.   
  8. ! #define _PatchLevel "42"
  9. --- 3,6 ----
  10.    *    directory.
  11.    */
  12.   
  13. ! #define _PatchLevel "43"
  14. *** 42.1    1994/01/16 14:54:44
  15. --- ./assert.h    1994/02/12 00:00:44
  16. ***************
  17. *** 6,11 ****
  18. --- 6,12 ----
  19.   /* Allow this file to be included multiple times
  20.      with different settings of NDEBUG.  */
  21.   #undef assert
  22. + #undef __assert
  23.   
  24.   #ifndef _COMPILER_H
  25.   #include <compiler.h>
  26. ***************
  27. *** 15,21 ****
  28.   extern "C" {
  29.   #endif
  30.   
  31.   __EXTERN void __eprintf __PROTO((const char *expression, const long line,
  32.                    const char *filename));
  33.   __EXTERN __EXITING abort __PROTO((void)) __NORETURN;
  34. --- 16,21 ----
  35. ***************
  36. *** 24,60 ****
  37.   }
  38.   #endif
  39.   
  40.   #ifdef NDEBUG
  41. ! #define    assert(cond) (void *)0
  42. ! #else
  43.   
  44.   #if __STDC__
  45.   #define assert(cond) \
  46.   ((cond) ? 0 : \
  47.       ( __eprintf(#cond,(long)(__LINE__), __FILE__), abort(), 0 ))
  48. ! #else
  49.   
  50.   #ifndef __SOZOBON__
  51.   /* There's a bug in Sozobon 2.0 whereby __LINE__ & __FILE__ are defined but
  52.    * testing #ifndef __?I?E__ comes out as if they aren't. */
  53.   #ifndef __LINE__
  54.   #define __LINE__ 0
  55.   #endif
  56.   #ifndef __FILE__
  57.   #define __FILE__ "unknown"
  58.   #endif
  59. ! #endif /* __SOZOBON__ */
  60.   
  61.   #define assert(cond) \
  62.   ((cond) ? 0 : \
  63.       ( __eprintf("cond", (long)(__LINE__), __FILE__), abort(), 0))
  64. ! #endif /* __STDC__ */
  65.   
  66. ! #endif /* NDEBUG */
  67. --- 24,60 ----
  68.   }
  69.   #endif
  70.   
  71.   #ifdef NDEBUG
  72. ! #define    assert(cond) ((void *) 0)
  73. ! #define __assert(cond) ((void *) 0)
  74. ! #else /* not NDEBUG */
  75.   
  76.   #if __STDC__
  77.   #define assert(cond) \
  78.   ((cond) ? 0 : \
  79.       ( __eprintf(#cond,(long)(__LINE__), __FILE__), abort(), 0 ))
  80. ! #define __assert(cond) \
  81. ! if(!(cond)) \
  82. !     { __eprintf(#cond,(long)(__LINE__), __FILE__); abort(); }
  83. ! #else /* not __STDC__ */
  84.   
  85.   #ifndef __SOZOBON__
  86.   /* There's a bug in Sozobon 2.0 whereby __LINE__ & __FILE__ are defined but
  87.    * testing #ifndef __?I?E__ comes out as if they aren't. */
  88.   #ifndef __LINE__
  89.   #define __LINE__ 0
  90.   #endif
  91.   #ifndef __FILE__
  92.   #define __FILE__ "unknown"
  93.   #endif
  94. ! #endif /* not __SOZOBON__ */
  95.   
  96.   #define assert(cond) \
  97.   ((cond) ? 0 : \
  98.       ( __eprintf("cond", (long)(__LINE__), __FILE__), abort(), 0))
  99. ! #define __assert(cond) \
  100. ! if(!(cond)) \
  101. !     { __eprintf("cond", (long)(__LINE__), __FILE__); abort(); }
  102. ! #endif /* not __STDC__ */
  103.   
  104. ! #endif /* not NDEBUG */
  105. *** 42.1    1994/01/16 14:54:44
  106. --- ./osbind.h    1994/02/10 07:32:16
  107. ***************
  108. *** 1342,1349 ****
  109.           movl    %1,sp@-; \
  110.                   movw    %0,sp@- "                    \
  111.       :                          /* outputs */    \
  112. !     : "g"(n), "r"(_a), "r"(_b), "r"(_c), "r"(_d),            \
  113. !       "r"(_e), "r"(_f), "r"(_g), "r"(_h), "r"(_i) /* inputs  */    \
  114.       );                                \
  115.                                           \
  116.       __asm__ volatile                        \
  117. --- 1342,1349 ----
  118.           movl    %1,sp@-; \
  119.                   movw    %0,sp@- "                    \
  120.       :                          /* outputs */    \
  121. !     : "g"(n), "g"(_a), "g"(_b), "g"(_c), "g"(_d),            \
  122. !       "g"(_e), "g"(_f), "g"(_g), "g"(_h), "g"(_i) /* inputs  */    \
  123.       );                                \
  124.                                           \
  125.       __asm__ volatile                        \
  126.