summaryrefslogtreecommitdiff
path: root/src/inc/strongname.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/inc/strongname.h')
-rw-r--r--src/inc/strongname.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/inc/strongname.h b/src/inc/strongname.h
new file mode 100644
index 0000000000..9773f90956
--- /dev/null
+++ b/src/inc/strongname.h
@@ -0,0 +1,9 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+// The VM statically links StrongName APIs so we can suppress the warning.
+
+#define USE_DEPRECATED_CLR_API_WITHOUT_WARNING
+#include "../strongname/inc/strongname.h"
+#undef USE_DEPRECATED_CLR_API_WITHOUT_WARNING