Commit ab1f5886 authored by Alexandre Julliard's avatar Alexandre Julliard

wia: Force specifying the correct header version in Wine code.

parent 158f63d0
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#include "olectl.h" #include "olectl.h"
#include "winsvc.h" #include "winsvc.h"
#include "wia.h" #include "wia_lh.h"
#include "initguid.h" #include "initguid.h"
#include "wine/debug.h" #include "wine/debug.h"
......
...@@ -17,6 +17,10 @@ ...@@ -17,6 +17,10 @@
*/ */
#ifdef __WINESRC__
#error Specify wia_lh.h or wia_xp.h explicitly in Wine
#endif
#if (_WIN32_WINNT >= 0x0600) #if (_WIN32_WINNT >= 0x0600)
#include <wia_lh.h> #include <wia_lh.h>
#elif (_WIN32_WINNT >= 0x0501) #elif (_WIN32_WINNT >= 0x0501)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment