Merge pull request #98 from SRombauts/master
Fix for building with Visual Studio
This commit is contained in:
commit
690ec8748a
3 changed files with 12 additions and 0 deletions
|
@ -22,6 +22,10 @@
|
|||
#include <stdio.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#if defined(_WIN32)
|
||||
#define snprintf _snprintf
|
||||
#endif
|
||||
|
||||
struct smartypants_data {
|
||||
int in_squote;
|
||||
int in_dquote;
|
||||
|
|
|
@ -21,6 +21,10 @@
|
|||
#include <stdio.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#if defined(_WIN32)
|
||||
#define strncasecmp _strnicmp
|
||||
#endif
|
||||
|
||||
int
|
||||
sd_autolink_issafe(const uint8_t *link, size_t link_len)
|
||||
{
|
||||
|
|
|
@ -25,6 +25,10 @@
|
|||
#include <ctype.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#if defined(_WIN32)
|
||||
#define strncasecmp _strnicmp
|
||||
#endif
|
||||
|
||||
#define REF_TABLE_SIZE 8
|
||||
|
||||
#define BUFFER_BLOCK 0
|
||||
|
|
Loading…
Reference in a new issue