mirror of
https://github.com/mutouyun/cpp-ipc.git
synced 2025-12-13 15:09:56 +08:00
Compare commits
No commits in common. "c5302d00ab332a4a6f0dccfedba9601eda1d5700" and "a0c7725a1441d18bc768d748a93e512a0fa7ab52" have entirely different histories.
c5302d00ab
...
a0c7725a14
@ -1,10 +1,6 @@
|
||||
/// \brief To create a basic Windows command line program.
|
||||
|
||||
#if defined(__MINGW32__)
|
||||
#include <windows.h>
|
||||
#else
|
||||
#include <Windows.h>
|
||||
#endif
|
||||
#include <tchar.h>
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
@ -1,11 +1,7 @@
|
||||
/// \brief To create a basic Windows Service in C++.
|
||||
/// \see https://www.codeproject.com/Articles/499465/Simple-Windows-Service-in-Cplusplus
|
||||
|
||||
#if defined(__MINGW32__)
|
||||
#include <windows.h>
|
||||
#else
|
||||
#include <Windows.h>
|
||||
#endif
|
||||
#include <tchar.h>
|
||||
#include <string>
|
||||
|
||||
|
||||
@ -4,11 +4,7 @@
|
||||
#include <string>
|
||||
#include <mutex>
|
||||
|
||||
#if defined(__MINGW32__)
|
||||
#include <windows.h>
|
||||
#else
|
||||
#include <Windows.h>
|
||||
#endif
|
||||
|
||||
#include "libipc/utility/log.h"
|
||||
#include "libipc/utility/scope_guard.h"
|
||||
|
||||
@ -3,11 +3,7 @@
|
||||
#include <cstdint>
|
||||
#include <system_error>
|
||||
|
||||
#if defined(__MINGW32__)
|
||||
#include <windows.h>
|
||||
#else
|
||||
#include <Windows.h>
|
||||
#endif
|
||||
|
||||
#include "libipc/utility/log.h"
|
||||
|
||||
|
||||
@ -2,11 +2,7 @@
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
#if defined(__MINGW32__)
|
||||
#include <windows.h>
|
||||
#else
|
||||
#include <Windows.h>
|
||||
#endif
|
||||
|
||||
#include "libipc/utility/log.h"
|
||||
|
||||
|
||||
@ -1,9 +1,5 @@
|
||||
|
||||
#if defined(__MINGW32__)
|
||||
#include <windows.h>
|
||||
#else
|
||||
#include <Windows.h>
|
||||
#endif
|
||||
|
||||
#include <string>
|
||||
#include <utility>
|
||||
|
||||
@ -1,10 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#if defined(__MINGW32__)
|
||||
#include <windows.h>
|
||||
#else
|
||||
#include <Windows.h>
|
||||
#endif
|
||||
|
||||
#include <type_traits>
|
||||
#include <string>
|
||||
|
||||
@ -37,11 +37,7 @@ TEST(PThread, Robust) {
|
||||
pthread_mutex_destroy(&mutex);
|
||||
}
|
||||
#elif defined(IPC_OS_WINDOWS_)
|
||||
#if defined(__MINGW32__)
|
||||
#include <windows.h>
|
||||
#else
|
||||
#include <Windows.h>
|
||||
#endif
|
||||
#include <tchar.h>
|
||||
|
||||
TEST(PThread, Robust) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user