Gimp master don't build on mingw-w64 errors on gimp-shm.c
as title
CC gimp-shm.lo
gimp-shm.c: In function '_gimp_shm_open':
gimp-shm.c:116:7: error: 'shm_handle' undeclared (first use in this function); did you mean '_shm_handle'?
116 | shm_handle = OpenFileMapping (FILE_MAP_ALL_ACCESS,
| ^~~~~~~~~~
| _shm_handle
gimp-shm.c:116:7: note: each undeclared identifier is reported only once for each function it appears in
gimp-shm.c:69:28: error: '_tile_width' undeclared (first use in this function); did you mean 'gimp_tile_width'?
69 | #define TILE_MAP_SIZE (_tile_width * _tile_height * 32)
| ^~~~~~~~~~~
gimp-shm.c:69:28: note: in definition of macro 'TILE_MAP_SIZE'
69 | #define TILE_MAP_SIZE (_tile_width * _tile_height * 32)
| ^~~~~~~~~~~
gimp-shm.c:69:42: error: '_tile_height' undeclared (first use in this function); did you mean 'g_tree_height'?
69 | #define TILE_MAP_SIZE (_tile_width * _tile_height * 32)
| ^~~~~~~~~~~~
gimp-shm.c:69:42: note: in definition of macro 'TILE_MAP_SIZE'
69 | #define TILE_MAP_SIZE (_tile_width * _tile_height * 32)
| ^~~~~~~~~~~~
gimp-shm.c: In function '_gimp_shm_close':
gimp-shm.c:187:7: error: 'shm_handle' undeclared (first use in this function); did you mean '_shm_handle'?
187 | if (shm_handle)
| ^~~~~~~~~~
| _shm_handle
At top level:
gimp-shm.c:74:16: warning: '_shm_handle' defined but not used [-Wunused-variable]
74 | static HANDLE _shm_handle;
| ^~~~~~~~~~~