File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 2929
3030#include <stdarg.h>
3131
32+ #ifdef _WIN32
33+ #include <windows.h>
34+ #endif
3235
3336/**
3437 * @brief KNOWN ISSUES
@@ -2057,7 +2060,11 @@ int wait_for_oauth_token_set(Handle *h) {
20572060 while (!h -> oauth_token_set && elapsed_sec < max_wait_sec ) {
20582061 CallState cs ;
20592062 CallState_begin (h , & cs );
2063+ #ifdef _WIN32
2064+ Sleep (retry_interval_sec * 1000 );
2065+ #else
20602066 sleep (retry_interval_sec );
2067+ #endif
20612068 CallState_end (h , & cs );
20622069 elapsed_sec += retry_interval_sec ;
20632070 }
Original file line number Diff line number Diff line change @@ -52,8 +52,9 @@ if [[ $OS_NAME == linux && $ARCH == x64 ]]; then
5252 # Run these actions and tests only in this case
5353 echo " Checking code formatting ..."
5454 # Check all tracked files (Python and C)
55- all_files=$( git ls-tree -r --name-only HEAD | egrep ' \.(py|c|h)$' )
56- clang-format --version
55+ # Commenting out clang-format until consistent versions across platforms are available for dev and CI testing
56+ all_files=$( git ls-tree -r --name-only HEAD | egrep ' \.(py)$' ) # egrep '\.(py|c|h)$')
57+ # clang-format --version
5758 tools/style-format.sh $all_files || exit 1
5859 echo " Building documentation ..."
5960 flake8 --exclude ./_venv,* _pb2.py,./build
You can’t perform that action at this time.
0 commit comments