mirror of https://github.com/ecmwf/eccodes.git
Fix broken Windows build
This commit is contained in:
parent
d8996c9a40
commit
562ff8b604
|
@ -12,7 +12,10 @@
|
|||
|
||||
#undef NDEBUG
|
||||
#include <assert.h>
|
||||
|
||||
#ifndef ECCODES_ON_WINDOWS
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue