wia: Force specifying the correct header version in Wine code.
This commit is contained in:
parent
158f63d06a
commit
ab1f58864e
|
@ -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 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#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)
|
||||||
|
|
Loading…
Reference in New Issue