diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/base64.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/base64.c b/src/base64.c index 96d49f3..acec723 100644 --- a/src/base64.c +++ b/src/base64.c | |||
| @@ -21,6 +21,10 @@ | |||
| 21 | #include <string.h> | 21 | #include <string.h> |
| 22 | #include "base64.h" | 22 | #include "base64.h" |
| 23 | 23 | ||
| 24 | #ifdef WIN32 | ||
| 25 | #define strtok_r strtok_s | ||
| 26 | #endif | ||
| 27 | |||
| 24 | static const char base64_str[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; | 28 | static const char base64_str[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; |
| 25 | static const char base64_pad = '='; | 29 | static const char base64_pad = '='; |
| 26 | 30 | ||
