Fix bug in strndup fix for windows. Move all includes out of headers and into code for strndup.h and move it to be the last include.

This commit is contained in:
AeroXuk
2017-11-23 19:11:25 +00:00
parent d205f4d2bb
commit f0246e7333
11 changed files with 23 additions and 18 deletions

View File

@@ -1,6 +1,7 @@
#include <stdio.h>
#include "log/log.h"
#include "string_utils.h"
#include "strndup.h"
#define INVALID_INDEX(i, n) ((i) < 0 || (i) >= (n))