Skip to content

Commit

Permalink
Add missing shlwapi.h include
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmo0920 committed Jan 24, 2017
1 parent 391102b commit eaf5999
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions ext/ffi_c/DynamicLibrary.c
Expand Up @@ -36,6 +36,7 @@
# include <winsock2.h>
# define _WINSOCKAPI_
# include <windows.h>
# include <shlwapi.h>
#else
# include <dlfcn.h>
#endif
Expand Down
3 changes: 2 additions & 1 deletion ext/ffi_c/extconf.rb
Expand Up @@ -24,7 +24,8 @@
# Check if the raw api is available.
$defs << "-DHAVE_RAW_API" if have_func("ffi_raw_call") && have_func("ffi_prep_raw_closure")
end


have_header('shlwapi.h')
have_func('rb_thread_blocking_region')
have_func('rb_thread_call_with_gvl')
have_func('rb_thread_call_without_gvl')
Expand Down

0 comments on commit eaf5999

Please sign in to comment.