File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010import ctypes
1111import os
1212import re
13+ import sys
1314from collections import ChainMap , UserDict
1415from dataclasses import dataclass
1516from pathlib import Path
@@ -210,8 +211,10 @@ def expand_descriptors(
210211 yield Descriptor (code , name )
211212
212213
214+ libcname = "msvcrt" if sys .platform .startswith ("win" ) else None
215+
213216libc = ctypes .CDLL (
214- None , winmode = 0
217+ libcname , winmode = 0
215218) # automatically finds and loads the C standard library
216219
217220fseek = libc .fseek
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ GIT_ECBUILD=https://github.com/ecmwf/ecbuild.git
1414ECBUILD_VERSION=master
1515
1616GIT_ECCODES=https://github.com/ecmwf/eccodes.git
17- ECCODES_VERSION=2.44 .0
17+ ECCODES_VERSION=2.43 .0
1818ECCODES_COMMON_CMAKE_OPTIONS=" -DENABLE_PNG=1 -DENABLE_JPG=1 -DENABLE_NETCDF=0 -DENABLE_EXAMPLES=0"
1919
2020GIT_AEC=https://github.com/MathisRosenhauer/libaec.git
You can’t perform that action at this time.
0 commit comments