Skip to content
  • Magnus Blåudd's avatar
    18a5983c
    Bug#23135093 test_event compilation failure on Windows · 18a5983c
    Magnus Blåudd authored
     - compilation error occured because of non portable code which
       assigned to ndb_socket_t::fd which is called
       ndb_socket_t::s on Windows in order to catch errors like
       this
     - fix by introducing new ndb_socket_create_from_native() function
       which can be used to create a ndb_socket_t from ndb_native_socket_t
       in a portable way without using #ifdefs.
     - also replace usages of SOCKET and int with ndb_native_socket_t
    18a5983c
    Bug#23135093 test_event compilation failure on Windows
    Magnus Blåudd authored
     - compilation error occured because of non portable code which
       assigned to ndb_socket_t::fd which is called
       ndb_socket_t::s on Windows in order to catch errors like
       this
     - fix by introducing new ndb_socket_create_from_native() function
       which can be used to create a ndb_socket_t from ndb_native_socket_t
       in a portable way without using #ifdefs.
     - also replace usages of SOCKET and int with ndb_native_socket_t
Loading