1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
|
# Copyright (C) Dmitry Volyntsev
# Copyright (C) NGINX, Inc.
njs_feature="stat.st_atimespec"
njs_feature_name=NJS_HAVE_STAT_ATIMESPEC
njs_feature_run=no
njs_feature_incs=
njs_feature_libs=
njs_feature_test="#include <sys/stat.h>
int main(void) {
struct stat st;
if (fstat(0, &st) != 0) {
return 1;
}
return (int) st.st_atimespec.tv_sec;
}"
. auto/feature
njs_feature="stat.st_birthtim"
njs_feature_name=NJS_HAVE_STAT_BIRTHTIM
njs_feature_incs=
njs_feature_libs=
njs_feature_test="#include <sys/stat.h>
int main(void) {
struct stat st;
if (fstat(0, &st) != 0) {
return 1;
}
return (int) st.st_birthtim.tv_sec;
}"
. auto/feature
njs_feature="stat.__st_birthtim"
njs_feature_name=NJS_HAVE__STAT_BIRTHTIM
njs_feature_incs=
njs_feature_libs=
njs_feature_test="#include <sys/stat.h>
int main(void) {
struct stat st;
if (fstat(0, &st) != 0) {
return 1;
}
return (int) st.__st_birthtim.tv_sec;
}"
. auto/feature
njs_feature="stat.st_atim"
njs_feature_name=NJS_HAVE_STAT_ATIM
njs_feature_incs=
njs_feature_libs=
njs_feature_test="#include <sys/stat.h>
int main(void) {
struct stat st;
if (fstat(0, &st) != 0) {
return 1;
}
return (int) st.st_atim.tv_sec;
}"
. auto/feature
|