Mercurial > mxe-octave
view src/netcdf-1-fixes.patch @ 5494:898c27394c57
Use python3 in scripts (bug #58689).
* Makefile.in: native mingw, depend on python3, set PYTHON3 var
* tools/msys2-install.py: update for python3 syntax
* tools/pkg-install.py: update for python3 syntax
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Sat, 04 Jul 2020 12:14:29 -0400 |
parents | 440ce30431c2 |
children | f62e01947a77 |
line wrap: on
line source
diff --git "a/netcdf/ncdump/ncvalidator.c" "b/netcdf/ncdump/ncvalidator.c" index a0e4acb..2a7c5af 100644 --- "a/ncdump/ncvalidator.c" +++ "b/ncdump/ncvalidator.c" @@ -76,7 +76,9 @@ THIS SOFTWARE. #ifdef _WIN32 #include <io.h> #define snprintf _snprintf +#ifndef HAVE_UNISTD_H #include "XGetopt.h" +#endif int opterr; int optind; #endif