Add back the missing PATH_MAX fallback
This commit is contained in:
parent
6e7c0e15eb
commit
3867e3857d
10
Alc/hrtf.c
10
Alc/hrtf.c
@ -22,6 +22,7 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include <limits.h>
|
||||
|
||||
#include "AL/al.h"
|
||||
#include "AL/alc.h"
|
||||
@ -31,6 +32,15 @@
|
||||
#include "hrtf.h"
|
||||
|
||||
|
||||
#ifndef PATH_MAX
|
||||
#ifdef MAX_PATH
|
||||
#define PATH_MAX MAX_PATH
|
||||
#else
|
||||
#define PATH_MAX 4096
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
/* Current data set limits defined by the makehrtf utility. */
|
||||
#define MIN_IR_SIZE (8)
|
||||
#define MAX_IR_SIZE (128)
|
||||
|
Loading…
x
Reference in New Issue
Block a user