summaryrefslogtreecommitdiffstats
path: root/third_party/libjingle/overrides/talk/base/win32socketinit.cc
blob: 2a05f02760541c45e1d4a278a56f1eb6209dda61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Redirect Libjingle's winsock initialization activity into Chromium's
// singleton object that managest precisely that for the browser.

#include "talk/base/win32socketinit.h"

#include "net/base/winsock_init.h"

#ifndef WIN32
#error "Only compile this on Windows"
#endif

namespace talk_base {

void EnsureWinsockInit() {
  net::EnsureWinsockInit();
}

}  // namespace talk_base