-
Notifications
You must be signed in to change notification settings - Fork 6.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fbsync] [Windows] Workaround for loading bundled DLLs (#4893)
Summary: * [Windows] Workaround for loading bundled DLLs Python-3.8+ adds `add_dll_directory` call, see https://docs.python.org/3/whatsnew/3.8.html#ctypes Simulate this behaviour on older versions of Python runtime by calling `LoadLibraryExW` with the appropriate flags Fixes #4787 Reviewed By: prabhat00155 Differential Revision: D33253476 fbshipit-source-id: bc462bf1c3b161646b258abc495c46f32aa1b459
- Loading branch information
1 parent
ca3f6bb
commit 66c435a
Showing
3 changed files
with
30 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters