Comment 2 for bug 836853

Revision history for this message
Alexey Kopytov (akopytov) wrote :

Wlad,

Thank you for the patch. One thing is not quite clear to me though:

so sb_timer_update() is defined with 'inline' which appears to be a problem on Windows, where '__inline' must be used instead. But sb_win.h redefines 'inline' to address this problem:

#ifndef __cplusplus
#ifndef inline
#define inline __inline
#endif
#endif

And sb_win.h is included from sb_timer.h which in turn is included from sb_timer.c. So it looks like that should _not_ be a problem after all. Can you clarify please?