summaryrefslogtreecommitdiffstats
path: root/testDynload.c
diff options
context:
space:
mode:
authorKWSys Robot <kwrobot@kitware.com>2012-05-02 12:46:10 (GMT)
committerBrad King <brad.king@kitware.com>2012-10-01 18:38:57 (GMT)
commit7d3c2959fa9cb65b3be81bdfe3f69c29d31a9e67 (patch)
treebce89f47a95d9b29d52c9c8aa2847872fde59a42 /testDynload.c
downloadCMake-7d3c2959fa9cb65b3be81bdfe3f69c29d31a9e67.zip
CMake-7d3c2959fa9cb65b3be81bdfe3f69c29d31a9e67.tar.gz
CMake-7d3c2959fa9cb65b3be81bdfe3f69c29d31a9e67.tar.bz2
KWSys 2012-05-02 (719638e2)
Extract upstream KWSys using the following shell code. $ sha1=719638e233b560afb0d9a0afdcf23469dc1827fe && git archive --prefix=KWSys-snapshot/ $sha1 | tar x
Diffstat (limited to 'testDynload.c')
-rw-r--r--testDynload.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/testDynload.c b/testDynload.c
new file mode 100644
index 0000000..ba60bec
--- /dev/null
+++ b/testDynload.c
@@ -0,0 +1,22 @@
+/*============================================================================
+ KWSys - Kitware System Library
+ Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
+
+ Distributed under the OSI-approved BSD License (the "License");
+ see accompanying file Copyright.txt for details.
+
+ This software is distributed WITHOUT ANY WARRANTY; without even the
+ implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the License for more information.
+============================================================================*/
+#ifdef _WIN32
+#define DL_EXPORT __declspec( dllexport )
+#else
+#define DL_EXPORT
+#endif
+
+DL_EXPORT int TestDynamicLoaderData = 0;
+
+DL_EXPORT void TestDynamicLoaderSymbolPointer()
+{
+}