Pārlūkot izejas kodu

Include winsock2.h before windows.h.

master
adeniz pirms 4 gadiem
vecāks
revīzija
71618d3619
5 mainītis faili ar 39 papildinājumiem un 0 dzēšanām
  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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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"

Notiek ielāde…
Atcelt
Saglabāt