Skip to content
Snippets Groups Projects
Commit 4b4c2697 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Configure [Wnotify]: Fix check for <WinBase.h> with recent autoconf

parent 7cc49e1a
Branches
Tags
No related merge requests found
...@@ -2,7 +2,17 @@ AC_INIT(wnotify.cmod) ...@@ -2,7 +2,17 @@ AC_INIT(wnotify.cmod)
AC_MODULE_INIT() AC_MODULE_INIT()
AC_CONFIG_HEADER(wnotify_config.h) AC_CONFIG_HEADER(wnotify_config.h)
AC_CHECK_HEADERS(Windows.h WinBase.h FileAPI.h) AC_CHECK_HEADERS(Windows.h WinBase.h FileAPI.h,,,[
#ifdef HAVE_WINDOWS_H
#include <Windows.h>
#endif
#ifdef HAVE_WINBASE_H
#include <WinBase.h>
#endif
#ifdef HAVE_FILEAPI_H
#include <FileAPI.h>
#endif
])
MY_CHECK_FUNCTION(FindFirstChangeNotification, MY_CHECK_FUNCTION(FindFirstChangeNotification,
[ [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment