Reorder includes
This commit is contained in:
parent
85b2d6038b
commit
bf5eaa39ea
6
main.cpp
6
main.cpp
@ -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;
|
||||
|
@ -8,8 +8,8 @@
|
||||
|
||||
#ifdef _WIN32
|
||||
|
||||
#include <conio.h>
|
||||
#include <windows.h>
|
||||
#include <conio.h>
|
||||
#include <winuser.h>
|
||||
|
||||
#define cout std::wcout
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user