Commit | Line | Data |
---|---|---|
353bc75d | 1 | /* |
2 | * Central header file for agedu, defining various useful things. | |
3 | */ | |
4 | ||
e6fde1f7 | 5 | #include "config.h" |
6 | ||
353bc75d | 7 | #define PNAME "agedu" |
8 | ||
bf53e756 | 9 | #define DUMPHDR "agedu dump file. pathsep=" |
10 | ||
353bc75d | 11 | #define lenof(x) (sizeof((x))/sizeof(*(x))) |
12 | ||
13 | extern char pathsep; | |
9c6e61f2 | 14 | |
15 | #ifdef HAVE_LSTAT64 | |
16 | #define STRUCT_STAT struct stat64 | |
17 | #define LSTAT lstat64 | |
18 | #else | |
19 | #define STRUCT_STAT struct stat | |
20 | #define LSTAT lstat | |
21 | #endif |