Skip to content

Commit

Permalink
Fix issue 8. Compile on Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
becherling authored Aug 7, 2021
1 parent ef7507c commit e081c23
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/cc/xmq_implementation.cc
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@
#include "xmq_implementation.h"

#include<string.h>

#ifndef strncasecmp
#define strncasecmp strncmp
#endif

bool xmq_implementation::isWhiteSpace(char c)
{
return c == ' ' || c == '\t' || c == '\r' || c == '\n';
Expand Down

0 comments on commit e081c23

Please sign in to comment.