mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 09:28:07 +02:00
pipe-loader: Fix PATH_MAX define on MSVC.
This commit is contained in:
parent
02afbd2476
commit
4befd82a64
1 changed files with 5 additions and 0 deletions
|
|
@ -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) = {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue