Switch pragma once to legacy include guards
Signed-off-by: Fiorentino Ing. Stefano <stefano.fiore84@gmail.com>
This commit is contained in:
parent
991f5cdbb8
commit
3d9e45e733
@ -1,4 +1,5 @@
|
||||
#pragma once
|
||||
#ifndef UVW_ASYNC_INCLUDE_H
|
||||
#define UVW_ASYNC_INCLUDE_H
|
||||
|
||||
|
||||
#include <uv.h>
|
||||
@ -61,3 +62,5 @@ public:
|
||||
#ifndef UVW_AS_LIB
|
||||
#include "async.cpp"
|
||||
#endif
|
||||
|
||||
#endif // UVW_ASYNC_INCLUDE_H
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
#pragma once
|
||||
#ifndef UVW_CHECK_INCLUDE_H
|
||||
#define UVW_CHECK_INCLUDE_H
|
||||
|
||||
|
||||
#include <uv.h>
|
||||
@ -58,3 +59,5 @@ public:
|
||||
#ifndef UVW_AS_LIB
|
||||
#include "check.cpp"
|
||||
#endif
|
||||
|
||||
#endif // UVW_CHECK_INCLUDE_H
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
#pragma once
|
||||
#ifndef UVW_DNS_INCLUDE_H
|
||||
#define UVW_DNS_INCLUDE_H
|
||||
|
||||
|
||||
#include <utility>
|
||||
@ -250,3 +251,5 @@ extern template std::pair<bool, std::pair<const char *, const char *>> GetNameIn
|
||||
#ifndef UVW_AS_LIB
|
||||
#include "dns.cpp"
|
||||
#endif
|
||||
|
||||
#endif // UVW_DNS_INCLUDE_H
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
#pragma once
|
||||
#ifndef UVW_EMITTER_INCLUDE_H
|
||||
#define UVW_EMITTER_INCLUDE_H
|
||||
|
||||
|
||||
#include <type_traits>
|
||||
@ -319,3 +320,5 @@ private:
|
||||
#ifndef UVW_AS_LIB
|
||||
#include "emitter.cpp"
|
||||
#endif
|
||||
|
||||
#endif // UVW_EMITTER_INCLUDE_H
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
#pragma once
|
||||
#ifndef UVW_FS_INCLUDE_H
|
||||
#define UVW_FS_INCLUDE_H
|
||||
|
||||
|
||||
#include <utility>
|
||||
@ -1457,3 +1458,5 @@ struct FsHelper {
|
||||
#ifndef UVW_AS_LIB
|
||||
#include "fs.cpp"
|
||||
#endif
|
||||
|
||||
#endif // UVW_FS_INCLUDE_H
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
#pragma once
|
||||
#ifndef UVW_FS_EVENT_INCLUDE_H
|
||||
#define UVW_FS_EVENT_INCLUDE_H
|
||||
|
||||
|
||||
#include <type_traits>
|
||||
@ -144,3 +145,5 @@ public:
|
||||
#ifndef UVW_AS_LIB
|
||||
#include "fs_event.cpp"
|
||||
#endif
|
||||
|
||||
#endif // UVW_FS_EVENT_INCLUDE_H
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
#pragma once
|
||||
#ifndef UVW_FS_POLL_INCLUDE_H
|
||||
#define UVW_FS_POLL_INCLUDE_H
|
||||
|
||||
|
||||
#include <string>
|
||||
@ -78,3 +79,5 @@ public:
|
||||
#ifndef UVW_AS_LIB
|
||||
#include "fs_poll.cpp"
|
||||
#endif
|
||||
|
||||
#endif // UVW_FS_POLL_INCLUDE_H
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
#pragma once
|
||||
#ifndef UVW_HANDLE_INCLUDE_H
|
||||
#define UVW_HANDLE_INCLUDE_H
|
||||
|
||||
|
||||
#include <cstddef>
|
||||
@ -272,3 +273,5 @@ public:
|
||||
|
||||
|
||||
}
|
||||
|
||||
#endif // UVW_HANDLE_INCLUDE_H
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
#pragma once
|
||||
#ifndef UVW_IDLE_INCLUDE_H
|
||||
#define UVW_IDLE_INCLUDE_H
|
||||
|
||||
|
||||
#include <uv.h>
|
||||
@ -66,3 +67,5 @@ public:
|
||||
#ifndef UVW_AS_LIB
|
||||
#include "idle.cpp"
|
||||
#endif
|
||||
|
||||
#endif // UVW_IDLE_INCLUDE_H
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
#pragma once
|
||||
#ifndef UVW_LIB_INCLUDE_H
|
||||
#define UVW_LIB_INCLUDE_H
|
||||
|
||||
|
||||
#include <memory>
|
||||
@ -65,3 +66,5 @@ private:
|
||||
#ifndef UVW_AS_LIB
|
||||
#include "lib.cpp"
|
||||
#endif
|
||||
|
||||
#endif // UVW_LIB_INCLUDE_H
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
#pragma once
|
||||
#ifndef UVW_LOOP_INCLUDE_H
|
||||
#define UVW_LOOP_INCLUDE_H
|
||||
|
||||
|
||||
#ifdef _WIN32
|
||||
@ -435,3 +436,5 @@ extern template bool Loop::run<Loop::Mode::NOWAIT>() noexcept;
|
||||
#ifndef UVW_AS_LIB
|
||||
#include "loop.cpp"
|
||||
#endif
|
||||
|
||||
#endif // UVW_LOOP_INCLUDE_H
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
#pragma once
|
||||
#ifndef UVW_PIPE_INCLUDE_H
|
||||
#define UVW_PIPE_INCLUDE_H
|
||||
|
||||
|
||||
#include <type_traits>
|
||||
@ -162,3 +163,5 @@ private:
|
||||
#ifndef UVW_AS_LIB
|
||||
#include "pipe.cpp"
|
||||
#endif
|
||||
|
||||
#endif // UVW_PIPE_INCLUDE_H
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
#pragma once
|
||||
#ifndef UVW_POLL_INCLUDE_H
|
||||
#define UVW_POLL_INCLUDE_H
|
||||
|
||||
|
||||
#include <type_traits>
|
||||
@ -140,3 +141,5 @@ private:
|
||||
#ifndef UVW_AS_LIB
|
||||
#include "poll.cpp"
|
||||
#endif
|
||||
|
||||
#endif // UVW_POLL_INCLUDE_H
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
#pragma once
|
||||
#ifndef UVW_PREPARE_INCLUDE_H
|
||||
#define UVW_PREPARE_INCLUDE_H
|
||||
|
||||
|
||||
#include <uv.h>
|
||||
@ -60,3 +61,5 @@ public:
|
||||
#ifndef UVW_AS_LIB
|
||||
#include "prepare.cpp"
|
||||
#endif
|
||||
|
||||
#endif // UVW_PREPARE_INCLUDE_H
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
#pragma once
|
||||
#ifndef UVW_PROCESS_INCLUDE_H
|
||||
#define UVW_PROCESS_INCLUDE_H
|
||||
|
||||
|
||||
#include <utility>
|
||||
@ -249,3 +250,5 @@ private:
|
||||
#ifndef UVW_AS_LIB
|
||||
#include "process.cpp"
|
||||
#endif
|
||||
|
||||
#endif // UVW_PROCESS_INCLUDE_H
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
#pragma once
|
||||
#ifndef UVW_REQUEST_INCLUDE_H
|
||||
#define UVW_REQUEST_INCLUDE_H
|
||||
|
||||
|
||||
#include <type_traits>
|
||||
@ -70,3 +71,5 @@ public:
|
||||
|
||||
|
||||
}
|
||||
|
||||
#endif // UVW_REQUEST_INCLUDE_H
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
#pragma once
|
||||
#ifndef UVW_RESOURCE_INCLUDE_H
|
||||
#define UVW_RESOURCE_INCLUDE_H
|
||||
|
||||
|
||||
#include <memory>
|
||||
@ -68,3 +69,5 @@ private:
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif // UVW_RESOURCE_INCLUDE_H
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
#pragma once
|
||||
#ifndef UVW_SIGNAL_INCLUDE_H
|
||||
#define UVW_SIGNAL_INCLUDE_H
|
||||
|
||||
|
||||
#include <uv.h>
|
||||
@ -84,3 +85,5 @@ public:
|
||||
#ifndef UVW_AS_LIB
|
||||
#include "signal.cpp"
|
||||
#endif
|
||||
|
||||
#endif // UVW_SIGNAL_INCLUDE_H
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
#pragma once
|
||||
#ifndef UVW_STREAM_INCLUDE_H
|
||||
#define UVW_STREAM_INCLUDE_H
|
||||
|
||||
|
||||
#include <algorithm>
|
||||
@ -445,3 +446,5 @@ public:
|
||||
#ifndef UVW_AS_LIB
|
||||
#include "stream.cpp"
|
||||
#endif
|
||||
|
||||
#endif // UVW_STREAM_INCLUDE_H
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
#pragma once
|
||||
#ifndef UVW_TCP_INCLUDE_H
|
||||
#define UVW_TCP_INCLUDE_H
|
||||
|
||||
|
||||
#include <type_traits>
|
||||
@ -256,3 +257,5 @@ extern template void TCPHandle::connect<IPv6>(Addr addr);
|
||||
#ifndef UVW_AS_LIB
|
||||
#include "tcp.cpp"
|
||||
#endif
|
||||
|
||||
#endif // UVW_TCP_INCLUDE_H
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
#pragma once
|
||||
#ifndef UVW_THREAD_INCLUDE_H
|
||||
#define UVW_THREAD_INCLUDE_H
|
||||
|
||||
|
||||
#include <memory>
|
||||
@ -363,3 +364,5 @@ public:
|
||||
#ifndef UVW_AS_LIB
|
||||
#include "thread.cpp"
|
||||
#endif
|
||||
|
||||
#endif // UVW_THREAD_INCLUDE_H
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
#pragma once
|
||||
#ifndef UVW_TIMER_INCLUDE_H
|
||||
#define UVW_TIMER_INCLUDE_H
|
||||
|
||||
|
||||
#include <chrono>
|
||||
@ -102,3 +103,5 @@ public:
|
||||
#ifndef UVW_AS_LIB
|
||||
#include "timer.cpp"
|
||||
#endif
|
||||
|
||||
#endif // UVW_TIMER_INCLUDE_H
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
#pragma once
|
||||
#ifndef UVW_TTY_INCLUDE_H
|
||||
#define UVW_TTY_INCLUDE_H
|
||||
|
||||
|
||||
#include <type_traits>
|
||||
@ -150,3 +151,5 @@ private:
|
||||
#ifndef UVW_AS_LIB
|
||||
#include "tty.cpp"
|
||||
#endif
|
||||
|
||||
#endif // UVW_TTY_INCLUDE_H
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
#pragma once
|
||||
#ifndef UVW_UDP_INCLUDE_H
|
||||
#define UVW_UDP_INCLUDE_H
|
||||
|
||||
|
||||
#include <type_traits>
|
||||
@ -637,3 +638,5 @@ extern template void UDPHandle::recv<IPv6>();
|
||||
#ifndef UVW_AS_LIB
|
||||
#include "udp.cpp"
|
||||
#endif
|
||||
|
||||
#endif // UVW_UDP_INCLUDE_H
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
#pragma once
|
||||
#ifndef UVW_UNDERLYING_TYPE_INCLUDE_H
|
||||
#define UVW_UNDERLYING_TYPE_INCLUDE_H
|
||||
|
||||
|
||||
#include <memory>
|
||||
@ -114,3 +115,5 @@ private:
|
||||
|
||||
|
||||
}
|
||||
|
||||
#endif // UVW_UNDERLYING_TYPE_INCLUDE_H
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
#pragma once
|
||||
#ifndef UVW_UTIL_INCLUDE_H
|
||||
#define UVW_UTIL_INCLUDE_H
|
||||
|
||||
|
||||
#include <string_view>
|
||||
@ -827,3 +828,5 @@ struct Utilities {
|
||||
#ifndef UVW_AS_LIB
|
||||
#include "util.cpp"
|
||||
#endif
|
||||
|
||||
#endif // UVW_UTIL_INCLUDE_H
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
#pragma once
|
||||
#ifndef UVW_WORK_INCLUDE_H
|
||||
#define UVW_WORK_INCLUDE_H
|
||||
|
||||
|
||||
#include <functional>
|
||||
@ -63,3 +64,5 @@ private:
|
||||
#ifndef UVW_AS_LIB
|
||||
#include "work.cpp"
|
||||
#endif
|
||||
|
||||
#endif // UVW_WORK_INCLUDE_H
|
||||
|
||||
Loading…
Reference in New Issue
Block a user