We are developing a test simulator (in windows environment, using C language) for a software component that will be running on an automotive HW. Actually the test simulator is a windows application that include, as core sources, the sw componentm and allow to test the I/O interfaces of the core and in this way its correct behavior. Unfortunately, within the core is defined the function GetSystemTime that cause a conflict with a windows function of the same name:

```
[core] returnType GetSystemsTime(UInt32* time)
[windows] WINBASEAPI VOID WINAPI GetSystemTime (LPSYSTEMTIME lpSystemTime)

```

It is not possible to modify the core function, being part of the I/O interface of the component. I have read of the #define trick, that i have applied introducing a new core function GetSystemsTime:

```
#define GetSystemTime(x) GetSystemsTime(x)

```

But this trick is not sufficent, it allow to redirect all the function calls of the project towards the new function, but if i do not comment out the windows prototype i have the conflict. How i can do?
Thx!!