Skip to content

Commit

Permalink
adding guards to ctmacros.hpp (#905)
Browse files Browse the repository at this point in the history
Co-authored-by: Lalit Kumar Bhasin <[email protected]>
  • Loading branch information
SahilAshar and lalitb authored Aug 6, 2021
1 parent 9f7c580 commit 5eb86aa
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/include/public/ctmacros.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,15 @@
#endif

// TODO: [MG] - ideally we'd like to use __attribute__((unused)) with gcc/clang
#ifndef UNREFERENCED_PARAMETER
#define UNREFERENCED_PARAMETER(...)
#endif

#define OACR_USE_PTR(...)

#ifndef _Out_writes_bytes_
#define _Out_writes_bytes_(...)
#endif

#endif

Expand Down

0 comments on commit 5eb86aa

Please sign in to comment.