Commit | Line | Data |
---|---|---|
1 | /* | |
2 | * Central header file for agedu, defining various useful things. | |
3 | */ | |
4 | ||
5 | #include "config.h" | |
6 | ||
7 | #define PNAME "agedu" | |
8 | ||
9 | #define DUMPHDR "agedu dump file. pathsep=" | |
10 | ||
11 | #define lenof(x) (sizeof((x))/sizeof(*(x))) | |
12 | ||
13 | extern char pathsep; | |
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 |