Skip to content

Commit

Permalink
[AD-993] Try defining empty macros for MacOS - #2.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruce Irschick committed Nov 15, 2022
1 parent 76e5d29 commit 5aee671
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/mac-debug-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,16 @@ jobs:
distribution: 'temurin'
java-version: '17'
architecture: x64
#- name: run-cppcheck
# run: |
# brew install cppcheck
# sh run_cppcheck.sh
#- name: upload-cppcheck-results
# if: failure()
# uses: actions/upload-artifact@v3
# with:
# name: cppcheck-results
# path: cppcheck-results.log
- name: run-cppcheck
run: |
brew install cppcheck
sh run_cppcheck.sh
- name: upload-cppcheck-results
if: failure()
uses: actions/upload-artifact@v3
with:
name: cppcheck-results
path: cppcheck-results.log
- name: Extract key-pair into file
run: |
mkdir ~/certs
Expand Down
6 changes: 6 additions & 0 deletions src/odbc/os/linux/include/documentdb/odbc/common/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@
#ifndef _Out_writes_opt_
#define _Out_writes_opt_(size)
#endif
#ifndef _In_reads_
#define _In_reads_(size)
#endif
#ifndef _In_reads_opt_
#define _In_reads_opt_(size)
#endif

/**
* Common construction to disable copy constructor and assignment for class.
Expand Down

0 comments on commit 5aee671

Please sign in to comment.