blob: afd3b1dc93dc726f134fbc29dd845170de070e27 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
*** 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>
|