add macro_define and unix_socket simple code