Hi Marcus,
Marcus Lindblom wrote:
> Carsten Neumann wrote:
>> Hi,
>>
>> I just discovered that applications or other libraries (VRJuggler being
>> one of them) that include windows.h with WIN32_LEAN_AND_MEAN defined
>> before OSGConfig can do so *without* the definition break inside
>> OSGTime.inl because timeGetTime is not declared then :(
>> Below is a possible fallback implementation [1], but I was wondering if
>> we could just move the code to a .cpp and not have to worry about
>> differing precision, availability of the fallback across windows
>> versions etc.
>> Opinions?
> How about not inlining the function? That would solve the issue, no?
True, but it would add some overhead to what is a fairly lightweight function.
If we can encourage people to use the TimeStamp functions for low-latency
timing
I would be ok with moving it into the .cpp.
Dirk
------------------------------------------------------------------------------
_______________________________________________
Opensg-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-core