Commit d2ad82c8 authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

advapi32/tests: Avoid using GCC's typeof extension.

parent abf14cd4
...@@ -31,12 +31,10 @@ ...@@ -31,12 +31,10 @@
#include "initguid.h" #include "initguid.h"
#define DEFINE_FUNCTION(name) static typeof(name) *p##name; ULONG (WINAPI *pPerfCloseQueryHandle)(HANDLE);
DEFINE_FUNCTION(PerfCloseQueryHandle); ULONG (WINAPI *pPerfOpenQueryHandle)(const WCHAR*, HANDLE*);
DEFINE_FUNCTION(PerfOpenQueryHandle); ULONG (WINAPI *pPerfAddCounters)(HANDLE, PERF_COUNTER_IDENTIFIER*, DWORD);
DEFINE_FUNCTION(PerfAddCounters); ULONG (WINAPI *pPerfQueryCounterData)(HANDLE, PERF_DATA_HEADER*, DWORD, DWORD*);
DEFINE_FUNCTION(PerfQueryCounterData);
#undef DEFINE_FUNCTION
static void init_functions(void) static void init_functions(void)
{ {
......
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