Minor fixes to Windows build to improve header include order resiliency (#126)
[platform/upstream/OpenCL-ICD-Loader.git] / loader / windows / icd_windows.h
index 48bbf13..2a283d3 100644 (file)
 #include <stdbool.h>
 #include <windows.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
 extern const LUID ZeroLuid;
 
 BOOL adapterAdd(const char* szName, LUID luid);
 
 // Do not free the memory returned by this function.
 const char* getOpenCLRegKeyName(void);
+
+#ifdef __cplusplus
+}
+#endif