1 //===-- GDBRemoteTestUtils.cpp ----------------------------------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 
10 #include "GDBRemoteTestUtils.h"
11 
12 namespace lldb_private {
13 namespace process_gdb_remote {
14 
15 void GDBRemoteTest::SetUpTestCase() {
16 #if defined(_MSC_VER)
17   WSADATA data;
18   ::WSAStartup(MAKEWORD(2, 2), &data);
19 #endif
20 }
21 
22 void GDBRemoteTest::TearDownTestCase() {
23 #if defined(_MSC_VER)
24   ::WSACleanup();
25 #endif
26 }
27 
28 } // namespace process_gdb_remote
29 } // namespace lldb_private
30