瀏覽代碼

Changed bind function to global namespace

This is to avoid conflict with std::bind introduced in C++11
wx
Wombat 8 年之前
父節點
當前提交
04f99e5690
共有 1 個檔案被更改,包括 1 行新增 和 1 行删除
  1. 1
    1
      networking.cpp

+ 1
- 1
networking.cpp 查看文件



if(!OpenStage2Complete) { // Do this stage only once. if(!OpenStage2Complete) { // Do this stage only once.
int result = // Bind our socket to the LocalAddress. int result = // Bind our socket to the LocalAddress.
bind(
::bind(
Handle, Handle,
LocalAddress.getPtr_sockaddr(), LocalAddress.getPtr_sockaddr(),
LocalAddress.getAddressSize()); LocalAddress.getAddressSize());

Loading…
取消
儲存