Add missing C++ guards

This commit is contained in:
Kyle Schwarz
2020-08-18 16:01:51 -04:00
committed by Paul Hollinsky
parent 3e4b595fe4
commit b6692d3762
75 changed files with 299 additions and 5 deletions
+4
View File
@@ -1,6 +1,8 @@
#ifndef __FTDI_WINDOWS_H_
#define __FTDI_WINDOWS_H_
#ifdef __cplusplus
#include "icsneo/platform/windows/vcp.h"
namespace icsneo {
@@ -13,4 +15,6 @@ public:
}
#endif // __cplusplus
#endif
@@ -1,6 +1,8 @@
#ifndef __PCAPDLL_WINDOWS_H_
#define __PCAPDLL_WINDOWS_H_
#ifdef __cplusplus
#include <Windows.h>
#include <winsock2.h>
#include <pcap.h>
@@ -54,4 +56,6 @@ private:
};
}
#endif // __cplusplus
#endif
+4
View File
@@ -1,6 +1,8 @@
#ifndef __PCAP_WINDOWS_H_
#define __PCAP_WINDOWS_H_
#ifdef __cplusplus
#include "icsneo/platform/windows/internal/pcapdll.h"
#include "icsneo/device/neodevice.h"
#include "icsneo/communication/driver.h"
@@ -74,4 +76,6 @@ private:
}
#endif // __cplusplus
#endif
@@ -1,6 +1,8 @@
#ifndef __REGISTRY_WINDOWS_H_
#define __REGISTRY_WINDOWS_H_
#ifdef __cplusplus
#include <Windows.h>
#include <string>
#include <vector>
@@ -33,4 +35,6 @@ private:
}
#endif // __cplusplus
#endif
+4
View File
@@ -1,6 +1,8 @@
#ifndef __STM32_WINDOWS_H_
#define __STM32_WINDOWS_H_
#ifdef __cplusplus
#include "icsneo/platform/windows/vcp.h"
namespace icsneo {
@@ -13,4 +15,6 @@ public:
}
#endif // __cplusplus
#endif
+4
View File
@@ -1,6 +1,8 @@
#ifndef __VCP_WINDOWS_H_
#define __VCP_WINDOWS_H_
#ifdef __cplusplus
#include <vector>
#include <string>
#include <thread>
@@ -46,4 +48,6 @@ private:
}
#endif // __cplusplus
#endif