Skip to content

Commit

Permalink
Fix linkage error while windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
uditagarwal97 committed Aug 26, 2024
1 parent 6c26a42 commit 7d7edc6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions sycl-compress/include/sycl-compress/sycl-compress.h
Original file line number Diff line number Diff line change
@@ -1,2 +1,10 @@
#if defined(_MSC_VER)
__declspec(dllexport)
#endif
char *compressBlob(const char *src, size_t srcSize, size_t &dstSize, int level);


#if defined(_MSC_VER)
__declspec(dllexport)
#endif
char *decompressBlob(const char *src, size_t srcSize, size_t &dstSize);

0 comments on commit 7d7edc6

Please sign in to comment.