1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/audio/mpmf20/files/patch-aa
Chris Piazza 2c83614e43 import of mpmf20.
This software is a command line utility used used for transfering audio files
in the MP3 format to and from the portable MP3 player MPMan MP-F20.
It enables you to upload (specifying the files with wildcards or from a
textfile), download, delete, reorder already uploaded files and more on your
MPMan MP-F20.

PR:		Markus Holmberg <saska@acc.umu.se>
Submitted by:	13911
1999-09-27 17:51:11 +00:00

16 lines
368 B
Plaintext

--- app.cpp.orig Wed Sep 22 22:55:41 1999
+++ app.cpp Wed Sep 22 22:27:06 1999
@@ -22,6 +22,12 @@
#define SIZE_MAXPATH _MAX_PATH
#define DELETEARRAY delete[]
+#elif defined(__FreeBSD__)
+ // FreeBSD g++
+ #include <unistd.h>
+ #include <sys/syslimits.h>
+ #define SIZE_MAXPATH PATH_MAX
+
#elif defined(__linux__)
// linux g++
#include <unistd.h>