/[ascend]/trunk/test/assertimpl.c
ViewVC logotype

Diff of /trunk/test/assertimpl.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 101 by jds, Sat Dec 10 04:22:07 2005 UTC revision 216 by jds, Wed Jan 25 02:12:20 2006 UTC
# Line 45  _CRTIMP void __cdecl _assert(const char Line 45  _CRTIMP void __cdecl _assert(const char
45  {  {
46    
47  #  elif defined(_MSC_VER)  #  elif defined(_MSC_VER)
48    #    if _MSC_VER < 1400   /* Visual C versions below 14 */
49  _CRTIMP void __cdecl _assert(const char *cond, const char *file, unsigned line)  _CRTIMP void __cdecl _assert(const char *cond, const char *file, unsigned line)
50  {  {
51    #    else
52    void __cdecl _wassert(__in_z const wchar_t * cond, __in_z const wchar_t *file, __in unsigned line)
53    {
54    #    endif  /* Visual C version */
55    
56  #  elif defined(__BORLANDC__)  #  elif defined(__BORLANDC__)
57  #    ifdef __cplusplus  #    ifdef __cplusplus
# Line 56  void _RTLENTRY _EXPFUNC _assert(char *co Line 61  void _RTLENTRY _EXPFUNC _assert(char *co
61  {  {
62    
63  #  else  #  else
64  #    error Unrecognized compiler.  #    error Unrecognized Windows compiler.
65    
66  #  endif  #  endif
67  #else    /* !__WIN32__ */  #else    /* !__WIN32__ */

Legend:
Removed from v.101  
changed lines
  Added in v.216

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22