Reduce the likelihood of collision for some src/shared header guards
This commit is contained in:
parent
97c4253cfb
commit
21eaf31141
@ -18,8 +18,8 @@
|
|||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
|
|
||||||
#ifndef AGENTMSG_H
|
#ifndef WINPTY_SHARED_AGENT_MSG_H
|
||||||
#define AGENTMSG_H
|
#define WINPTY_SHARED_AGENT_MSG_H
|
||||||
|
|
||||||
struct AgentMsg
|
struct AgentMsg
|
||||||
{
|
{
|
||||||
@ -33,4 +33,4 @@ struct AgentMsg
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // AGENTMSG_H
|
#endif // WINPTY_SHARED_AGENT_MSG_H
|
||||||
|
@ -18,8 +18,8 @@
|
|||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
|
|
||||||
#ifndef BUFFER_H
|
#ifndef WINPTY_SHARED_BUFFER_H
|
||||||
#define BUFFER_H
|
#define WINPTY_SHARED_BUFFER_H
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
@ -99,4 +99,4 @@ public:
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* BUFFER_H */
|
#endif // WINPTY_SHARED_BUFFER_H
|
||||||
|
@ -18,8 +18,8 @@
|
|||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
|
|
||||||
#ifndef OS_MODULE_H
|
#ifndef WINPTY_SHARED_OS_MODULE_H
|
||||||
#define OS_MODULE_H
|
#define WINPTY_SHARED_OS_MODULE_H
|
||||||
|
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
|
||||||
@ -58,4 +58,4 @@ public:
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // OS_MODULE_H
|
#endif // WINPTY_SHARED_OS_MODULE_H
|
||||||
|
@ -18,8 +18,8 @@
|
|||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
|
|
||||||
#ifndef STRING_UTIL_H
|
#ifndef WINPTY_SHARED_STRING_UTIL_H
|
||||||
#define STRING_UTIL_H
|
#define WINPTY_SHARED_STRING_UTIL_H
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
@ -77,4 +77,4 @@ wchar_t *winpty_wcsncpy_nul(wchar_t (&d)[N], const wchar_t *s) {
|
|||||||
return d;
|
return d;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // STRING_UTIL_H
|
#endif // WINPTY_SHARED_STRING_UTIL_H
|
||||||
|
Loading…
Reference in New Issue
Block a user