Commit 0cc6b3bde2d9d041cf8c616941a11273dae2aff5

Add support for enet 1.3

Reviewed-by: Yohann Ferreira
  
6060 enetAddress.port = port;
6161
6262 // Initiate the connection, allocating channel 0.
63#if ENET_VERSION_MAJOR != 1
64#error Unsuported enet version!
65#elif ENET_VERSION_MINOR < 3
6366 mConnection = enet_host_connect(mClient, &enetAddress, 1);
67#else
68 mConnection = enet_host_connect(mClient, &enetAddress, 1, 0);
69#endif
6470
6571 if (!mConnection)
6672 {
  
5353 logger->error("Failed to initialize ENet.");
5454 }
5555
56#if ENET_VERSION_MAJOR != 1
57#error Unsuported enet version!
58#elif ENET_VERSION_MINOR < 3
5659 client = enet_host_create(NULL, 3, 0, 0);
60#else
61 client = enet_host_create(NULL, 3, 0, 0, 0);
62#endif
5763
5864 if (!client)
5965 {