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:
@@ -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))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user