aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/check/crc64_x86.S
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2009-02-07 15:55:47 +0200
committerLasse Collin <lasse.collin@tukaani.org>2009-02-07 15:55:47 +0200
commitbfd91198e44a52bd9bfe3cd6dcae5edab7c6eb45 (patch)
tree8b54972bd651e9a0b57ae91c35391b0f8193e4a9 /src/liblzma/check/crc64_x86.S
parentIntroduced LZMA_API_STATIC macro, which the applications (diff)
downloadxz-bfd91198e44a52bd9bfe3cd6dcae5edab7c6eb45.tar.xz
Support LZMA_API_STATIC in assembler files to
avoid __declspec(dllexport) equivalent.
Diffstat (limited to 'src/liblzma/check/crc64_x86.S')
-rw-r--r--src/liblzma/check/crc64_x86.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/liblzma/check/crc64_x86.S b/src/liblzma/check/crc64_x86.S
index abd8f9d4..031285e5 100644
--- a/src/liblzma/check/crc64_x86.S
+++ b/src/liblzma/check/crc64_x86.S
@@ -255,9 +255,11 @@ LZMA_CRC64:
.long 0
#elif defined(_WIN32)
+# ifndef LZMA_API_STATIC
/* This is equivalent of __declspec(dllexport). */
.section .drectve
.ascii " -export:lzma_crc64"
+# endif
#else
/* ELF */