Skip to content

Commit 94b3072

Browse files
committed
VC++ - More header guards
See if I can reduce the number of errors in https://ci.appveyor.com/project/cefsharp/cefsharp/builds/21490716
1 parent 0965384 commit 94b3072

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

CefSharp.Core/Internals/CefRequestContextHandlerAdapter.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
//
33
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
44

5+
#ifndef CEFSHARP_CORE_INTERNALS_CEFREQUESTCONTEXTHANDLERADAPTER_H_
6+
#define CEFSHARP_CORE_INTERNALS_CEFREQUESTCONTEXTHANDLERADAPTER_H_
7+
58
#pragma once
69

710
#include "Stdafx.h"
@@ -42,4 +45,5 @@ namespace CefSharp
4245
IMPLEMENT_REFCOUNTING(CefRequestContextHandlerAdapter);
4346
};
4447
}
45-
}
48+
}
49+
#endif // CEFSHARP_CORE_INTERNALS_CEFREQUESTCONTEXTHANDLERADAPTER_H_

CefSharp.Core/ManagedCefBrowserAdapter.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
//
33
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
44

5+
#ifndef CEFSHARP_CORE_MANAGEDCEFBROWSERADAPTER_H_
6+
#define CEFSHARP_CORE_MANAGEDCEFBROWSERADAPTER_H_
7+
58
#pragma once
69

710
#include "Stdafx.h"
@@ -135,3 +138,4 @@ namespace CefSharp
135138
}
136139
};
137140
}
141+
#endif // CEFSHARP_CORE_INTERNALS_CLIENTADAPTER_H_

0 commit comments

Comments
 (0)