1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

Changeset 2678

Show
Ignore:
Timestamp:
06/28/10 06:24:26 (3 years ago)
Author:
sezero
Message:

2010-06-28 Ozkan Sezer <sezeroz@…>

  • strsafe.h: Apply the same C_ASSERT macro fix in winnt.h.
Location:
trunk/mingw-w64-headers/include
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/mingw-w64-headers/include/ChangeLog

    r2664 r2678  
     12010-06-28  Ozkan Sezer  <sezeroz@gmail.com> 
     2 
     3        * strsafe.h: Apply the same C_ASSERT macro fix in winnt.h. 
     4 
    152010-06-27  Ozkan Sezer  <sezeroz@gmail.com> 
    26 
  • trunk/mingw-w64-headers/include/strsafe.h

    r2573 r2678  
    5656 
    5757#ifndef C_ASSERT 
    58 #define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1] 
     58#ifdef _MSC_VER 
     59# define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1] 
     60#else 
     61# define C_ASSERT(e) extern void __C_ASSERT__(int [(e)?1:-1]) 
    5962#endif 
     63#endif /* C_ASSERT */ 
    6064 
    6165#ifdef __cplusplus