瀏覽代碼

Include winsock2.h before windows.h.

master
adeniz 4 年之前
父節點
當前提交
71618d3619
共有 5 個文件被更改,包括 39 次插入0 次删除
  1. 8
    0
      GBUdb.hpp
  2. 8
    0
      SNFMulti.hpp
  3. 7
    0
      snfGBUdbmgr.hpp
  4. 8
    0
      snfLOGmgr.hpp
  5. 8
    0
      snfXCImgr.hpp

+ 8
- 0
GBUdb.hpp 查看文件

@@ -11,6 +11,14 @@
#pragma once

#include "../CodeDweller/faults.hpp"

#ifdef WIN32

// Required because threading.hpp includes windows.h.
#include <winsock2.h>

#endif

#include "../CodeDweller/threading.hpp"
#include <cmath>
#include <cctype>

+ 8
- 0
SNFMulti.hpp 查看文件

@@ -29,6 +29,14 @@
#include <ctime>
#include <string>
#include "../CodeDweller/faults.hpp"

#ifdef WIN32

// Required because threading.hpp includes windows.h.
#include <winsock2.h>

#endif

#include "../CodeDweller/threading.hpp"
#include "GBUdb.hpp"
#include "FilterChain.hpp"

+ 7
- 0
snfGBUdbmgr.hpp 查看文件

@@ -8,6 +8,13 @@

#pragma once

#ifdef WIN32

// Required because threading.hpp includes windows.h.
#include <winsock2.h>

#endif

#include "../CodeDweller/threading.hpp"
#include "../CodeDweller/timing.hpp"
#include "snfCFGmgr.hpp"

+ 8
- 0
snfLOGmgr.hpp 查看文件

@@ -19,6 +19,14 @@
#include <cstdio>

#include "../CodeDweller/timing.hpp"

#ifdef WIN32

// Required because threading.hpp includes windows.h.
#include <winsock2.h>

#endif

#include "../CodeDweller/threading.hpp"
#include "../CodeDweller/histogram.hpp"


+ 8
- 0
snfXCImgr.hpp 查看文件

@@ -10,6 +10,14 @@
#include <string>
#include <queue>
#include "../CodeDweller/timing.hpp"

#ifdef WIN32

// Required because threading.hpp includes windows.h.
#include <winsock2.h>

#endif

#include "../CodeDweller/threading.hpp"
#include "../CodeDweller/networking.hpp"
#include "snf_xci.hpp"

Loading…
取消
儲存