summaryrefslogtreecommitdiffhomepage
path: root/dev/base/RunDLL64
diff options
context:
space:
mode:
authorAmlal <amlal@el-mahrouss-logic.com>2024-09-25 08:26:08 +0200
committerAmlal <amlal@el-mahrouss-logic.com>2024-09-25 08:26:08 +0200
commitdaa4f8c748d290feba8a71e889743a8a3097ad7d (patch)
tree4b4869dbe3ec5f7c1d78c3d88241db96d006a445 /dev/base/RunDLL64
parent8f62fbe30655e4d18837f196f01bb203126f474f (diff)
Refactor codebase: Move Objects to obj/, fix flags, remove .vscode, add syscalls
- Refactored Objects directory to obj/ for better organization. - Fixed incorrect flags in the build process. - Removed .vscode folder to clean up unnecessary IDE settings. - Added syscall implementations for enhanced functionality. Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'dev/base/RunDLL64')
-rw-r--r--dev/base/RunDLL64/build.json2
-rw-r--r--dev/base/RunDLL64/src/dll.cxx (renamed from dev/base/RunDLL64/src/LauncherMain.cxx)2
2 files changed, 2 insertions, 2 deletions
diff --git a/dev/base/RunDLL64/build.json b/dev/base/RunDLL64/build.json
index a69dbb11..c53373a9 100644
--- a/dev/base/RunDLL64/build.json
+++ b/dev/base/RunDLL64/build.json
@@ -8,7 +8,7 @@
"-ffreestanding",
"-fno-rtti",
"-fno-exceptions",
- " -Wl,--subsystem=17"
+ "-Wl,--subsystem=17"
],
"cpp_macros": [
"__RUNDLL_AMD64__",
diff --git a/dev/base/RunDLL64/src/LauncherMain.cxx b/dev/base/RunDLL64/src/dll.cxx
index ed1ab65c..560a404d 100644
--- a/dev/base/RunDLL64/src/LauncherMain.cxx
+++ b/dev/base/RunDLL64/src/dll.cxx
@@ -2,7 +2,7 @@
typedef int (*MainKind)(int, char**);
-int WinMain(int argc, char* argv[])
+int main(int argc, char* argv[])
{
if (argc < 3)
return -1;