diff --git a/Tests/Complex/Library/testConly.c b/Tests/Complex/Library/testConly.c
index d2d5294b1..05ec1076c 100644
--- a/Tests/Complex/Library/testConly.c
+++ b/Tests/Complex/Library/testConly.c
@@ -1,4 +1,4 @@
-#include "sharedFile.h"
+#include "testConly.h"
 
 int CsharedFunction()
 {
diff --git a/Tests/Complex/Library/testConly.h b/Tests/Complex/Library/testConly.h
index 8553a6b59..fc4c3f193 100644
--- a/Tests/Complex/Library/testConly.h
+++ b/Tests/Complex/Library/testConly.h
@@ -1,5 +1,5 @@
 #if defined(_WIN32) || defined(WIN32) /* Win32 version */
-#ifdef CMakeTestLibraryShared_EXPORTS
+#ifdef CMakeTestCLibraryShared_EXPORTS
 #  define CMakeTest_EXPORT __declspec(dllexport)
 #else
 #  define CMakeTest_EXPORT __declspec(dllimport)
@@ -10,3 +10,4 @@
 #endif
 
 CMakeTest_EXPORT int CsharedFunction();
+ 
diff --git a/Tests/ComplexOneConfig/Library/testConly.c b/Tests/ComplexOneConfig/Library/testConly.c
index d2d5294b1..05ec1076c 100644
--- a/Tests/ComplexOneConfig/Library/testConly.c
+++ b/Tests/ComplexOneConfig/Library/testConly.c
@@ -1,4 +1,4 @@
-#include "sharedFile.h"
+#include "testConly.h"
 
 int CsharedFunction()
 {
diff --git a/Tests/ComplexOneConfig/Library/testConly.h b/Tests/ComplexOneConfig/Library/testConly.h
index 8553a6b59..fc4c3f193 100644
--- a/Tests/ComplexOneConfig/Library/testConly.h
+++ b/Tests/ComplexOneConfig/Library/testConly.h
@@ -1,5 +1,5 @@
 #if defined(_WIN32) || defined(WIN32) /* Win32 version */
-#ifdef CMakeTestLibraryShared_EXPORTS
+#ifdef CMakeTestCLibraryShared_EXPORTS
 #  define CMakeTest_EXPORT __declspec(dllexport)
 #else
 #  define CMakeTest_EXPORT __declspec(dllimport)
@@ -10,3 +10,4 @@
 #endif
 
 CMakeTest_EXPORT int CsharedFunction();
+ 
diff --git a/Tests/ComplexRelativePaths/Library/testConly.c b/Tests/ComplexRelativePaths/Library/testConly.c
index d2d5294b1..05ec1076c 100644
--- a/Tests/ComplexRelativePaths/Library/testConly.c
+++ b/Tests/ComplexRelativePaths/Library/testConly.c
@@ -1,4 +1,4 @@
-#include "sharedFile.h"
+#include "testConly.h"
 
 int CsharedFunction()
 {
diff --git a/Tests/ComplexRelativePaths/Library/testConly.h b/Tests/ComplexRelativePaths/Library/testConly.h
index 8553a6b59..fc4c3f193 100644
--- a/Tests/ComplexRelativePaths/Library/testConly.h
+++ b/Tests/ComplexRelativePaths/Library/testConly.h
@@ -1,5 +1,5 @@
 #if defined(_WIN32) || defined(WIN32) /* Win32 version */
-#ifdef CMakeTestLibraryShared_EXPORTS
+#ifdef CMakeTestCLibraryShared_EXPORTS
 #  define CMakeTest_EXPORT __declspec(dllexport)
 #else
 #  define CMakeTest_EXPORT __declspec(dllimport)
@@ -10,3 +10,4 @@
 #endif
 
 CMakeTest_EXPORT int CsharedFunction();
+