Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'auto/types/time_t')
-rw-r--r--auto/types/time_t30
1 files changed, 0 insertions, 30 deletions
diff --git a/auto/types/time_t b/auto/types/time_t
deleted file mode 100644
index ecd80ef18..000000000
--- a/auto/types/time_t
+++ /dev/null
@@ -1,30 +0,0 @@
-
-echo "Checking for printf() time_t format"
-
-echo '#include <sys/types.h>' > autotest.c
-type=`${CPP} autotest.c | awk '/^typedef.*time_t/ {print \$2}'`
-rm autotest.c
-
-case $type in
- long)
- echo ' + long: "%ld" used'
- fmt='"%ld"'
- ;;
-
- int)
- echo ' + int: "%d" used'
- fmt='"%d"'
- ;;
-
- *)
- echo "$0: error: unknown time_t definition: \"$type\""
- exit 1
- ;;
-
-esac
-
-
-echo "#ifndef TIME_FMT" >> ngx_auto_config.h
-echo "#define TIME_FMT $fmt" >> ngx_auto_config.h
-echo "#endif" >> ngx_auto_config.h
-echo >> ngx_auto_config.h