Fixed the 'dllimport' build issue with MSVC. #181
No reviewers
Labels
No labels
announcement
bug
build
CI
dependencies
documentation
duplicate
enhancement
experience feedback
feature request
github_actions
help wanted
install
invalid
Long-term
optimization
portability
question
target-specific
test issue
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-Cyan4973/xxHash!181
Loading…
Reference in a new issue
No description provided.
Delete branch "dev"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Possible fix for #179 !
What about adding a
XXH_IMPORTstatement instead ?This would require the library to set
XXH_IMPORTorXXH_EXPORTin order to publish its symbols.But a user importing the file directly into its project would not need to set anything,
which seems the wanted behavior.
Made the changes for that wanted behavior, and forks fine with MSVC!
dllimportis not defined by default now.