Use C++ headers

This commit is contained in:
Egor Seredin 2019-05-15 12:02:00 +07:00
parent 2a9e8b52de
commit d54974c4cc
7 changed files with 11 additions and 11 deletions

View File

@ -10,7 +10,7 @@
#include "format.h"
#include <string.h>
#include <cstring>
#include <cctype>
#include <cerrno>

View File

@ -13,11 +13,11 @@
# undef __STRICT_ANSI__
#endif
#include <errno.h>
#include <cerrno>
#include <fcntl.h> // for O_RDONLY
#include <locale.h> // for locale_t
#include <stdio.h>
#include <stdlib.h> // for strtod_l
#include <clocale> // for locale_t
#include <cstdio>
#include <cstdlib> // for strtod_l
#include <cstddef>

View File

@ -12,7 +12,7 @@
#include "fmt/posix.h"
#include <limits.h>
#include <climits>
#include <sys/stat.h>
#include <sys/types.h>

View File

@ -5,7 +5,7 @@
//
// For the license information refer to format.h.
#include <stdint.h>
#include <cstdint>
#include <cctype>
#include <cfloat>
#include <climits>

View File

@ -13,7 +13,7 @@
#include "posix-mock.h"
#include "../src/posix.cc"
#include <errno.h>
#include <cerrno>
#include <fcntl.h>
#include <climits>
#include <memory>

View File

@ -8,8 +8,8 @@
#ifndef FMT_POSIX_TEST_H
#define FMT_POSIX_TEST_H
#include <errno.h>
#include <stdio.h>
#include <cerrno>
#include <cstdio>
#ifdef _WIN32
# include <windows.h>

View File

@ -5,7 +5,7 @@
//
// For the license information refer to prepare.h.
#include <stdint.h>
#include <cstdint>
#include <cctype>
#include <cfloat>
#include <climits>