mirror of
https://github.com/Neo-Desktop/WindowsXPKg
synced 2024-09-28 19:51:07 +03:00
36 lines
1.0 KiB
C++
36 lines
1.0 KiB
C++
|
/**
|
||
|
* This file is a part of the UMSKT Project
|
||
|
*
|
||
|
* Copyleft (C) 2019-2023 UMSKT Contributors (et.al.)
|
||
|
*
|
||
|
* This program is free software: you can redistribute it and/or modify
|
||
|
* it under the terms of the GNU Affero General Public License as published by
|
||
|
* the Free Software Foundation, either version 3 of the License, or
|
||
|
* (at your option) any later version.
|
||
|
|
||
|
* This program is distributed in the hope that it will be useful,
|
||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
|
* GNU Affero General Public License for more details.
|
||
|
|
||
|
* You should have received a copy of the GNU Affero General Public License
|
||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||
|
*
|
||
|
* @FileCreated by Neo on 6/25/2023
|
||
|
* @Maintainer Neo
|
||
|
*/
|
||
|
|
||
|
#include "libumskt.h"
|
||
|
|
||
|
|
||
|
#ifdef _WIN32
|
||
|
std::FILE* UMSKT::debug = std::fopen("NUL:", "w");
|
||
|
#else
|
||
|
std::FILE* UMSKT::debug = std::fopen("/dev/null", "w");
|
||
|
#endif
|
||
|
|
||
|
|
||
|
void UMSKT::setDebugOutput(std::FILE* input) {
|
||
|
debug = input;
|
||
|
}
|