[NDK]
authorPierre Schweitzer <pierre@reactos.org>
Wed, 2 Nov 2016 19:46:46 +0000 (19:46 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Wed, 2 Nov 2016 19:46:46 +0000 (19:46 +0000)
Properly export functions for C++ code

svn path=/trunk/; revision=73103

reactos/sdk/include/ndk/iofuncs.h

index 4c1073b..a141883 100644 (file)
@@ -25,6 +25,10 @@ Author:
 #include <umtypes.h>
 #include <iotypes.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 //
 // I/O Functions
 //
@@ -1064,6 +1068,10 @@ ZwWriteFileGather(
     _In_opt_ PULONG Key
 );
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif