File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -94,10 +94,11 @@ Another irritating point is that msvc6 does not support variable argument
94
94
macros...we handle that by defining the sd_debug() macros to be functions
95
95
on Windows, where variable numbers of arguments are supported.
96
96
97
- Similar issue for the 'inline' directive--where the function was not performance
98
- critical just drop the 'inline', where it is performance critical but
99
- the function can be rewritten as a macro then do that, otherwise, too bad, just
100
- have to drop the inline and have a function call.
97
+ The inline directive on Windows is either __inline or __forceinline. See the Mincrosoft
98
+ language reference for Visual C++ 6.0 for details on how they work. You will see some points
99
+ in the code, for example in category.h where on Windows we redefine an inline the function
100
+ as a macro. This is not really required as we could just redefine inline to be __inline
101
+ in sd_xplatform.h.
101
102
102
103
The getopt style function does not exist on Windows, so we implemented one ourselves.
103
104
You can’t perform that action at this time.
0 commit comments