[2/3] pdh/tests: Make the test pass on Windows 2000.
Francois Gouget
fgouget at free.fr
Fri Sep 16 09:45:25 CDT 2011
On Fri, 16 Sep 2011, Dan Kegel wrote:
> Build fails here?
>
> ccache gcc -c -I. -I. -I../../../include -I../../../include
> -DWINE_STRICT_PROTOTYPES -DWINE_NO_NAMELESS_EXTENSION -D_REENTRANT
> -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement
> -Wempty-body -Wstrict-prototypes -Wtype-limits -Wwrite-strings
> -Wpointer-arith -Wlogical-op -g -O0 -Werror -o propsys.o propsys.c
> pdh.c: In function ‘test_PdhAddCounterA’:
> pdh.c:134: error: ‘PDH_INVALID_PATH’ undeclared (first use in this function)
> pdh.c:134: error: (Each undeclared identifier is reported only once
> pdh.c:134: error: for each function it appears in.)
> pdh.c: In function ‘test_PdhAddCounterW’:
> pdh.c:183: error: ‘PDH_INVALID_PATH’ undeclared (first use in this function)
> ../../../tools/make_ctests -o testlist.c propsys.c
> make[1]: *** [pdh.o] Error 1
Ah, I missed that this patch depends on this macro from my other Pdh
headers patch.
--
Francois Gouget <fgouget at free.fr> http://fgouget.free.fr/
War doesn't determine who's right. War determines who's left.
More information about the wine-devel
mailing list