1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/audio/rio/files/patch-aa

19 lines
469 B
Plaintext
Raw Normal View History

*** app.cpp Mon Feb 1 17:55:34 1999
--- rio.bsd/app.cpp Sat Feb 6 21:00:07 1999
***************
*** 27,32 ****
--- 27,39 ----
#include <stdlib.h>
#define SIZE_MAXPATH _MAX_PATH
+ #elif defined(__FreeBSD__)
+ // FreeBSD g++
+ // (anybody know if this stuff applies more generally to other BSDs?)
+ #include <unistd.h>
+ #include <sys/syslimits.h>
+ #define SIZE_MAXPATH PATH_MAX
+
#elif defined(__linux__)
// linux g++
#include <unistd.h>