updated build system
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
SOFTWARE.
|
||||
*/
|
||||
#if defined(_WIN32)
|
||||
|
||||
#include "utils/windows.hpp"
|
||||
|
||||
#include "utils/com_init_wrapper.hpp"
|
||||
@@ -27,7 +28,7 @@
|
||||
|
||||
namespace repertory::utils {
|
||||
void create_console() {
|
||||
if (AllocConsole() == 0) {
|
||||
if (::AllocConsole() == 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -56,7 +57,7 @@ void create_console() {
|
||||
}
|
||||
|
||||
void free_console() {
|
||||
FreeConsole();
|
||||
::FreeConsole();
|
||||
}
|
||||
|
||||
auto get_last_error_code() -> DWORD { return ::GetLastError(); }
|
||||
|
Reference in New Issue
Block a user