Reorder includes

This commit is contained in:
zvon 2020-04-01 13:46:28 +02:00
parent 85b2d6038b
commit bf5eaa39ea
3 changed files with 8 additions and 7 deletions

View File

@ -1,15 +1,13 @@
#include <errno.h>
#include <error.h>
#include <iostream>
#include <locale.h>
#include <set>
#ifdef _WIN32
#include "resources.h"
#include <windows.h>
#include "resources_windows.h"
#include <fcntl.h>
#include <io.h>
#include <windows.h>
using char_t = wchar_t;
using string = std::wstring;

View File

@ -8,8 +8,8 @@
#ifdef _WIN32
#include <conio.h>
#include <windows.h>
#include <conio.h>
#include <winuser.h>
#define cout std::wcout

View File

@ -4,7 +4,6 @@
#include "filesystem.hpp"
#include "functions.hpp"
#include "resources_linux.h"
#include "tv_rename.hpp"
#include "rapidjson/document.h"
@ -18,11 +17,13 @@
#ifdef _WIN32
#include <windows.h>
#include "resources_windows.h"
#include <codecvt>
#include <fcntl.h>
#include <io.h>
#include <locale>
#include <windows.h>
constexpr const char_t *_tv_rename_dir_divider = L"\\";
@ -34,6 +35,8 @@ constexpr const char_t *_tv_rename_dir_divider = L"\\";
#else
#include "resources_linux.h"
constexpr const char_t *_tv_rename_dir_divider = "/";
#define cout std::cout