how to add definitions in hxcpp xml?
here is cmake file,how to add this in hxcpp?
check_type_size(“socklen_t” HAS_SOCKLEN_T BUILTIN_TYPES_ONLY)
if(HAS_SOCKLEN_T)
add_definitions(-DHAS_SOCKLEN_T=1)
endif()
//maybe like this ? or something else?
<compilerflag value="-DHAS_SOCKLEN_T=1" if="HAS_SOCKLEN_T"/>