aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorEliseo Martínez <eliseomarmol@gmail.com>2014-12-21 22:51:03 +0100
committerEliseo Martínez <eliseomarmol@gmail.com>2014-12-24 20:00:05 +0100
commit516405b6012e0c99d8bc073a7dead3c3206a184e (patch)
tree01ce692e8ee8c3a0e9dcf3b99c78f20f4320c658 /config
parentec09f4488f0114a1a557642cf5ada64608d357bf (diff)
downloadrneovim-516405b6012e0c99d8bc073a7dead3c3206a184e.tar.gz
rneovim-516405b6012e0c99d8bc073a7dead3c3206a184e.tar.bz2
rneovim-516405b6012e0c99d8bc073a7dead3c3206a184e.zip
Remove long_u: Passing-by: put_time(): Refactor implementation.
put_time() had a complicated implementation, because of having to shift an 8-byte value in a portable way with old means. That can be greatly simplified now, using a C99 fixed-size type.
Diffstat (limited to 'config')
-rw-r--r--config/CMakeLists.txt1
-rw-r--r--config/config.h.in1
2 files changed, 0 insertions, 2 deletions
diff --git a/config/CMakeLists.txt b/config/CMakeLists.txt
index 0f5dd7d984..aab4b5c23d 100644
--- a/config/CMakeLists.txt
+++ b/config/CMakeLists.txt
@@ -5,7 +5,6 @@ include(CheckIncludeFiles)
check_type_size("int" SIZEOF_INT)
check_type_size("long" SIZEOF_LONG)
-check_type_size("time_t" SIZEOF_TIME_T)
check_type_size("off_t" SIZEOF_OFF_T)
check_type_size("void *" SIZEOF_VOID_PTR)
diff --git a/config/config.h.in b/config/config.h.in
index 79dabc61e4..005eb1ccb0 100644
--- a/config/config.h.in
+++ b/config/config.h.in
@@ -11,7 +11,6 @@
#define SIZEOF_INT @SIZEOF_INT@
#define SIZEOF_LONG @SIZEOF_LONG@
-#define SIZEOF_TIME_T @SIZEOF_TIME_T@
#define SIZEOF_OFF_T @SIZEOF_OFF_T@
#if @SIZEOF_VOID_PTR@ == 8