aboutsummaryrefslogtreecommitdiffstats
path: root/api/exports.def
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-11-02 11:36:13 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2020-11-02 11:38:02 +0100
commit724508d61f41d5b443149a5ad88d2badb290ad3a (patch)
tree0600eb45212ed4e4c9018c89ea23d29f25e66af4 /api/exports.def
parentapi: map cr errors to win32 errors (diff)
downloadwintun-724508d61f41d5b443149a5ad88d2badb290ad3a.tar.xz
wintun-724508d61f41d5b443149a5ad88d2badb290ad3a.zip
api: make nci.lib work on x86
This is an appalling hack. We need the lib tool to generate a coff lib with the "undecorate" parameter. And apparently the only way to do this with the MSVC tools is by making a stub object, and then rewriting the symbols using the def file. See Q131313 for Microsoft-sanctioned details. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'api/exports.def')
-rw-r--r--api/exports.def1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/exports.def b/api/exports.def
index 58add40..fc31c6f 100644
--- a/api/exports.def
+++ b/api/exports.def
@@ -1,3 +1,4 @@
+LIBRARY wintun.dll
EXPORTS
WintunAllocateSendPacket
WintunCreateAdapter