Modified external and internal PCH files

multi_plaform
anulax1225 ago%!(EXTRA string=1 year)
parent d215d4e7bd
commit d7043dede0
  1. 12
      bakanet/src/bakanet.h
  2. 7
      bakanet/src/bakanetpch.h

@ -3,4 +3,14 @@
#include <bakanet/sock_layer/ip_address.h>
#include <bakanet/sock_layer/packet.h>
#include <bakanet/sock_layer/socket.h>
#include <bakanet/sock_layer/dns_lookup.h>
#ifdef BK_PLAFORM_WINDOWS
#include <platform/windows/windows_socket.h>
#elif BK_PLAFORM_LINUX
#include <platform/linux/linux_socket.h>
#else
#error "Plaform not supported"
#endif
#include <bakanet/sock_layer/dns_lookup.h>
#include <bakanet/http/http_server.h>

@ -1,5 +1,6 @@
#pragma once
#include <iostream>
#include <cstring>
#include <vector>
#include <string>
@ -8,6 +9,11 @@
#include <cstdint>
#include <cctype>
#include <string>
#include <unordered_map>
#include <functional>
#define log(str) std::cout << str << "\n";
#define input(ref) std::cin >> ref;
#ifdef BK_PLAFORM_WINDOWS
#include <Ws2tcpip.h>
@ -21,6 +27,7 @@
#include <unistd.h>
#include <netdb.h>
#include <arpa/inet.h>
#include <sys/time.h>
#else
#error "Plaform not supported"
#endif

Loading…
Cancel
Save