summaryrefslogtreecommitdiffstats
path: root/Tests/Module/GenerateExportHeader/libstatic/libstatic.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2011-08-10 22:18:33 (GMT)
committerStephen Kelly <steveire@gmail.com>2011-08-10 22:18:33 (GMT)
commit3f7e03643d5437ec494956f2678c7b3c905d8250 (patch)
tree423399462ed145a03eeb5e0e0aad41a6231ee5a3 /Tests/Module/GenerateExportHeader/libstatic/libstatic.h
parent7fa559232e6bca09c0f24c0a3da2a83a5c395be3 (diff)
downloadCMake-3f7e03643d5437ec494956f2678c7b3c905d8250.zip
CMake-3f7e03643d5437ec494956f2678c7b3c905d8250.tar.gz
CMake-3f7e03643d5437ec494956f2678c7b3c905d8250.tar.bz2
Export deprecated free methods too.
That way they can be linked to even after being deprecated.
Diffstat (limited to 'Tests/Module/GenerateExportHeader/libstatic/libstatic.h')
-rw-r--r--Tests/Module/GenerateExportHeader/libstatic/libstatic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/Module/GenerateExportHeader/libstatic/libstatic.h b/Tests/Module/GenerateExportHeader/libstatic/libstatic.h
index c6562ec..cd68cdc 100644
--- a/Tests/Module/GenerateExportHeader/libstatic/libstatic.h
+++ b/Tests/Module/GenerateExportHeader/libstatic/libstatic.h
@@ -45,7 +45,7 @@ public:
LIBSTATIC_EXPORT int libstatic_exported();
-LIBSTATIC_DEPRECATED int libstatic_deprecated();
+LIBSTATIC_DEPRECATED_EXPORT int libstatic_deprecated();
int libstatic_not_exported();