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
|
||||
|
||||
#include <functional>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <cstdint>
|
||||
#include <cstdlib>
|
||||
|
||||
namespace jbus
|
||||
{
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#include <arpa/inet.h>
|
||||
#include <netdb.h>
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
#include <cerrno>
|
||||
#else
|
||||
#include <winsock2.h>
|
||||
#include <Ws2tcpip.h>
|
||||
|
@ -21,9 +21,7 @@
|
|||
|
||||
#include "Common.hpp"
|
||||
|
||||
namespace jbus
|
||||
{
|
||||
namespace net
|
||||
namespace jbus::net
|
||||
{
|
||||
|
||||
/* Define the low-level send/receive flags, which depend on the OS */
|
||||
|
@ -371,7 +369,6 @@ public:
|
|||
SocketTp GetInternalSocket() const { return m_socket; }
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#endif // JBUS_SOCKET_HPP
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#include <stdio.h>
|
||||
#include <cstdio>
|
||||
#include "jbus/Listener.hpp"
|
||||
#include "jbus/Endpoint.hpp"
|
||||
#include <functional>
|
||||
|
|
Loading…
Reference in New Issue