diff options
Diffstat (limited to 'strbuf.h')
-rw-r--r-- | strbuf.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -25,6 +25,11 @@ | |||
25 | #include <stdlib.h> | 25 | #include <stdlib.h> |
26 | #include <stdarg.h> | 26 | #include <stdarg.h> |
27 | 27 | ||
28 | /* Workaround for MSVC */ | ||
29 | #ifdef _MSC_VER | ||
30 | #define inline __inline | ||
31 | #endif | ||
32 | |||
28 | /* Size: Total bytes allocated to *buf | 33 | /* Size: Total bytes allocated to *buf |
29 | * Length: String length, excluding optional NULL terminator. | 34 | * Length: String length, excluding optional NULL terminator. |
30 | * Increment: Allocation increments when resizing the string buffer. | 35 | * Increment: Allocation increments when resizing the string buffer. |