AppVeyor compile errors resolution.

parent 9df7bceb
......@@ -5,6 +5,7 @@
#include <winsock.h>
#include <io.h>
#include <fcntl.h>
#include <direct.h>
#include <string.h>
#include <stdlib.h>
......@@ -16,10 +17,9 @@ static int
mkstemp(char *p)
{
char *template, *path;
char *path;
int fd;
template = strdup(p);
template = _strdup(p);
if (template == NULL) return -1;
path = _mktemp(template);
if (path[0] == 0) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment