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
Bill Fenner 360e18a123 A tool for transferring files to and from the Diamond Rio .mp3 player
PR:		ports/9951
Submitted by:	Dermot McNally <derm@ibm.net>
1999-03-02 00:07:03 +00:00

19 lines
469 B
Plaintext

*** 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>