summaryrefslogtreecommitdiffstats
path: root/src/hdwin32.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/hdwin32.h')
-rw-r--r--src/hdwin32.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/hdwin32.h b/src/hdwin32.h
index f4c066e..f78d55d 100644
--- a/src/hdwin32.h
+++ b/src/hdwin32.h
@@ -21,7 +21,15 @@
*/
#ifndef _HDWIN32_H
#define _HDWIN32_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#if defined(__CYGWIN__) || defined(__MINGW32__)
void file_win32_disk_get_model(HANDLE handle, disk_t *dev, const int verbose);
#endif
+
+#ifdef __cplusplus
+} /* closing brace for extern "C" */
+#endif
#endif