X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=e_os2.h;h=f5a5fa2bfb15d47bf6e8be98c65201f2ff3660d2;hp=4c785c62cf7a7c1aa7d41f0921b4f82ec85f9668;hb=4a1b71fb0c908f67ce9a517701ad64430472a0e0;hpb=8711efb4984b66a901b543d1b5d96fc5b6928d10 diff --git a/e_os2.h b/e_os2.h index 4c785c62cf..f5a5fa2bfb 100644 --- a/e_os2.h +++ b/e_os2.h @@ -283,6 +283,12 @@ extern "C" { # define OPENSSL_GLOBAL_REF(name) _shadow_##name #endif +#ifdef DEBUG_UNUSED +#define __owur __attribute__((__warn_unused_result__)) +#else +#define __owur +#endif + #ifdef __cplusplus } #endif