1
0
mirror of https://github.com/upx/upx.git synced 2025-08-07 22:46:51 +08:00

src: move console files into a subdir; NFC

This commit is contained in:
Markus F.X.J. Oberhumer
2023-01-18 14:19:15 +01:00
parent 58343fc78d
commit 8efcf6f099
14 changed files with 19 additions and 18 deletions

View File

@ -293,7 +293,7 @@ jobs:
set s=%H%\src
cat .GITREV.txt
set /p GITREV=<.GITREV.txt
set sources=%s%\*.cpp %s%\check\*.cpp %s%\compress\*.cpp %s%\filter\*.cpp %s%\util\*.cpp
set sources=%s%\*.cpp %s%\check\*.cpp %s%\compress\*.cpp %s%\console\*.cpp %s%\filter\*.cpp %s%\util\*.cpp
cl -std:c++17 -Zc:__cplusplus -EHsc -J -O2 -W4 -WX -DUPX_VERSION_GITREV="""%GITREV%""" -DWITH_ZSTD %DEFS% -I%H%\vendor -I%H%\vendor\boost-pfr\include -Feupx.exe %sources% %BDIR%\ucl\ucl.lib %BDIR%\zlib\zlib.lib %BDIR%\zstd\zstd.lib /link setargv.obj
- name: 'Make artifact'
shell: bash

View File

@ -781,7 +781,7 @@ struct upx_compress_result_t
#include "options.h"
#include "except.h"
#include "bele.h"
#include "console.h"
#include "console/console.h"
#include "util/util.h"
// classes

View File

@ -25,7 +25,7 @@
<markus@oberhumer.com> <ezerotven+github@gmail.com>
*/
#include "conf.h"
#include "../conf.h"
#if (USE_CONSOLE)

View File

@ -25,7 +25,7 @@
<markus@oberhumer.com> <ezerotven+github@gmail.com>
*/
#include "conf.h"
#include "../conf.h"
FILE *con_term = nullptr;

View File

@ -25,7 +25,7 @@
<markus@oberhumer.com> <ezerotven+github@gmail.com>
*/
#include "conf.h"
#include "../conf.h"
#if (USE_CONSOLE)

View File

@ -25,7 +25,7 @@
<markus@oberhumer.com> <ezerotven+github@gmail.com>
*/
#include "conf.h"
#include "../conf.h"
#if (USE_SCREEN)

View File

@ -25,6 +25,8 @@
<markus@oberhumer.com> <ezerotven+github@gmail.com>
*/
#pragma once
/*************************************************************************
//
**************************************************************************/

View File

@ -25,7 +25,7 @@
<markus@oberhumer.com> <ezerotven+github@gmail.com>
*/
#include "conf.h"
#include "../conf.h"
#if (USE_SCREEN) && (ACC_OS_DOS32) && defined(__DJGPP__)
#if (ACC_CC_GNUC >= 0x040300ul)

View File

@ -25,7 +25,7 @@
<markus@oberhumer.com> <ezerotven+github@gmail.com>
*/
#include "conf.h"
#include "../conf.h"
#if (USE_SCREEN)

View File

@ -25,7 +25,7 @@
<markus@oberhumer.com> <ezerotven+github@gmail.com>
*/
#include "conf.h"
#include "../conf.h"
#if (USE_SCREEN) && (USE_SCREEN_VCSA)

View File

@ -25,7 +25,7 @@
<markus@oberhumer.com> <ezerotven+github@gmail.com>
*/
#include "conf.h"
#include "../conf.h"
#if (USE_SCREEN_WIN32)

View File

@ -25,8 +25,9 @@
<markus@oberhumer.com> <ezerotven+github@gmail.com>
*/
#ifndef __UPX_SCREEN_H
#define __UPX_SCREEN_H 1
#pragma once
#ifndef UPX_SCREEN_H__
#define UPX_SCREEN_H__ 1
#if (USE_SCREEN)

View File

@ -27,9 +27,9 @@
#include "conf.h"
#include "file.h"
#include "ui.h"
#include "screen.h"
#include "packer.h"
#include "ui.h"
#include "console/screen.h"
#if 1 && (USE_SCREEN)
#define UI_USE_SCREEN 1

View File

@ -26,13 +26,11 @@
*/
#pragma once
#ifndef __UPX_UI_H
#define __UPX_UI_H 1
#ifndef UPX_UI_H__
#define UPX_UI_H__ 1
class InputFile;
class OutputFile;
class Packer;
class UiPacker;
/*************************************************************************
//