summaryrefslogtreecommitdiff
path: root/config.tests
diff options
context:
space:
mode:
Diffstat (limited to 'config.tests')
-rw-r--r--config.tests/winrt/main.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/config.tests/winrt/main.cpp b/config.tests/winrt/main.cpp
index e5a39008..e1b14959 100644
--- a/config.tests/winrt/main.cpp
+++ b/config.tests/winrt/main.cpp
@@ -29,10 +29,16 @@
#include <functional>
#include <windows.system.h>
#include <windows.devices.geolocation.h>
+#include <windows.foundation.h>
#include <wrl.h>
using namespace Microsoft::WRL::Wrappers;
using namespace ABI::Windows::Devices::Geolocation;
+using namespace ABI::Windows::Foundation;
+
+#if _MSC_VER >= 1900
+typedef IAsyncOperationCompletedHandler<GeolocationAccessStatus> AccessHandler;
+#endif
int main(int, char**)
{