Home | History | Annotate | Download | only in include
      1 /**
      2  * This file has no copyright assigned and is placed in the Public Domain.
      3  * This file is part of the mingw-w64 runtime package.
      4  * No warranty is given; refer to the file DISCLAIMER.PD within this package.
      5  */
      6 
      7 #ifndef SAL_HXX
      8 #define SAL_HXX
      9 
     10 #ifdef __GNUC__
     11 #  define __inner_checkReturn __attribute__((warn_unused_result))
     12 #elif defined(_MSC_VER)
     13 #  define __inner_checkReturn __declspec("SAL_checkReturn")
     14 #else
     15 #  define __inner_checkReturn
     16 #endif
     17 
     18 #define __checkReturn __inner_checkReturn
     19 
     20 #define _In_
     21 #define _In_opt_
     22 #define _Out_
     23 
     24 #endif
     25 
     26