Just tried updating to the latest Hatari from Mercurial - and ran into the following:
1 (minor): Even after cmake (or configure) I had to manually add -I/opt/local/include to CFLAGS for it to find png.h
2 (major): If my memory serves me right (some of) these are Microsoft-specific types:
[ 82%] Building C object src/CMakeFiles/hatari.dir/utils.c.o
/Users/troedsangberg/dev/hatari/src/utils.c:31:20: error: unknown type name 'Uint32'
void crc32_reset ( Uint32 *crc )
^
/Users/troedsangberg/dev/hatari/src/utils.c:42:23: error: unknown type name 'Uint32'
void crc32_add_byte ( Uint32 *crc , Uint8 c )
^
/Users/troedsangberg/dev/hatari/src/utils.c:42:37: error: unknown type name 'Uint8'
void crc32_add_byte ( Uint32 *crc , Uint8 c )
^
/Users/troedsangberg/dev/hatari/src/utils.c:49:27: error: use of undeclared identifier 'CRC32_POLY'
*crc = ( *crc << 1 ) ^ CRC32_POLY;
^
/Users/troedsangberg/dev/hatari/src/utils.c:73:20: error: unknown type name 'Uint16'
void crc16_reset ( Uint16 *crc )
^
/Users/troedsangberg/dev/hatari/src/utils.c:84:23: error: unknown type name 'Uint16'
void crc16_add_byte ( Uint16 *crc , Uint8 c )
^
/Users/troedsangberg/dev/hatari/src/utils.c:84:37: error: unknown type name 'Uint8'
void crc16_add_byte ( Uint16 *crc , Uint8 c )
^
/Users/troedsangberg/dev/hatari/src/utils.c:92:27: error: use of undeclared identifier 'CRC16_POLY'
*crc = ( *crc << 1 ) ^ CRC16_POLY;