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

This commit is contained in:
Alexandre Julliard 2009-11-04 12:27:01 +01:00
parent 158f63d06a
commit ab1f58864e
2 changed files with 5 additions and 1 deletions

View File

@ -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"

View File

@ -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)