mirror of https://github.com/AxioDL/jbus.git
Huge compile performance refactor
This commit is contained in:
parent
34860de248
commit
3b94b2d400
|
@ -2,8 +2,8 @@
|
||||||
#define JBUS_COMMON_HPP
|
#define JBUS_COMMON_HPP
|
||||||
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include <stdint.h>
|
#include <cstdint>
|
||||||
#include <stdlib.h>
|
#include <cstdlib>
|
||||||
|
|
||||||
namespace jbus
|
namespace jbus
|
||||||
{
|
{
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <errno.h>
|
#include <cerrno>
|
||||||
#else
|
#else
|
||||||
#include <winsock2.h>
|
#include <winsock2.h>
|
||||||
#include <Ws2tcpip.h>
|
#include <Ws2tcpip.h>
|
||||||
|
@ -21,9 +21,7 @@
|
||||||
|
|
||||||
#include "Common.hpp"
|
#include "Common.hpp"
|
||||||
|
|
||||||
namespace jbus
|
namespace jbus::net
|
||||||
{
|
|
||||||
namespace net
|
|
||||||
{
|
{
|
||||||
|
|
||||||
/* Define the low-level send/receive flags, which depend on the OS */
|
/* Define the low-level send/receive flags, which depend on the OS */
|
||||||
|
@ -371,7 +369,6 @@ public:
|
||||||
SocketTp GetInternalSocket() const { return m_socket; }
|
SocketTp GetInternalSocket() const { return m_socket; }
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // JBUS_SOCKET_HPP
|
#endif // JBUS_SOCKET_HPP
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include <stdio.h>
|
#include <cstdio>
|
||||||
#include "jbus/Listener.hpp"
|
#include "jbus/Listener.hpp"
|
||||||
#include "jbus/Endpoint.hpp"
|
#include "jbus/Endpoint.hpp"
|
||||||
#include <functional>
|
#include <functional>
|
||||||
|
|
Loading…
Reference in New Issue