Added configs, fixed socket object in main.cpp

This commit is contained in:
dawidg81 2026-03-04 15:54:34 +01:00
commit 200af33eff
3 changed files with 20 additions and 1 deletions

5
.clangd Normal file
View file

@ -0,0 +1,5 @@
CompileFlags:
Add: [
"--target=i686-w64-windows-gnu",
"-D_M_IX86"
]

14
.vscode/c_cpp_properties.json vendored Normal file
View file

@ -0,0 +1,14 @@
{
"configurations": [
{
"name": "Win32",
"compilerPath": "D:/MinGW/bin/g++.exe",
"intelliSenseMode": "windows-gcc-x64",
"includePath": [
"${workspaceFolder}/**"
],
"defines": []
}
],
"version": 4
}

View file

@ -12,7 +12,7 @@ Logger log;
int main() {
log.raw("mcc v0.0.0");
Network::Socket socket;
Socket socket;
socket.winInit();
return 0;