Fix broken Windows build

This commit is contained in:
Shahram Najm 2024-02-02 17:57:59 +00:00
parent d8996c9a40
commit 562ff8b604
2 changed files with 8 additions and 0 deletions

View File

@ -12,7 +12,10 @@
#undef NDEBUG
#include <assert.h>
#ifndef ECCODES_ON_WINDOWS
#include <unistd.h>
#endif
int main(int argc, char* argv[])
{

View File

@ -17,6 +17,11 @@ temp2="temp.${label}.2"
tempLog="temp.${label}.log"
tempRef="temp.${label}.ref"
if [ $ECCODES_ON_WINDOWS -eq 1 ]; then
echo "$0: This test is currently disabled on Windows"
exit 0
fi
echo "Multi-message BUFR..."
# ---------------------------
input=${data_dir}/bufr/aeolus_wmo_26.bufr