added config.w32
fix return value
fix error C2057: expected constant expression