Explorar el Código

Include winsock2.h before windows.h.

master
adeniz hace 4 años
padre
commit
71618d3619
Se han modificado 5 ficheros con 39 adiciones y 0 borrados
  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 Ver fichero

@@ -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 Ver fichero

@@ -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 Ver fichero

@@ -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 Ver fichero

@@ -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 Ver fichero

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

Cargando…
Cancelar
Guardar