pipe-loader: Fix PATH_MAX define on MSVC.

This commit is contained in:
Jose Fonseca 2015-11-21 23:03:20 +00:00
parent 02afbd2476
commit 4befd82a64
1 changed files with 5 additions and 0 deletions

View File

@ -32,6 +32,11 @@
#include "util/u_string.h"
#include "util/u_dl.h"
#ifdef _MSC_VER
#include <stdlib.h>
#define PATH_MAX _MAX_PATH
#endif
#define MODULE_PREFIX "pipe_"
static int (*backends[])(struct pipe_loader_device **, int) = {