mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-05 22:43:24 +00:00
360e18a123
PR: ports/9951 Submitted by: Dermot McNally <derm@ibm.net>
19 lines
469 B
Plaintext
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>
|