[CONUTILS] Make the headers C++ compatible.

This commit is contained in:
Hermès Bélusca-Maïto 2018-01-27 15:48:59 +01:00
parent f7520da3ce
commit 1e87e2fa9d
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
4 changed files with 28 additions and 0 deletions

View file

@ -16,6 +16,10 @@
#error The ConUtils library at the moment only supports compilation with _UNICODE defined!
#endif
#ifdef __cplusplus
extern "C" {
#endif
/*
* General-purpose utility functions (wrappers around,
* or reimplementations of, Win32 APIs).
@ -50,4 +54,7 @@ IsConsoleHandle(IN HANDLE hHandle);
// #include <wincon.h>
#ifdef __cplusplus
}
#endif
#endif /* __UTILS_H__ */