diff --git a/reactos/tools/rbuild/module.cpp b/reactos/tools/rbuild/module.cpp index 5aa42fb5a7a..4fee8b0bb5b 100644 --- a/reactos/tools/rbuild/module.cpp +++ b/reactos/tools/rbuild/module.cpp @@ -1110,6 +1110,8 @@ string Module::GetEntryPoint(bool leadingUnderscore) const { string result = ""; + if (entrypoint == "0" || entrypoint == "0x0") + return "0"; if (leadingUnderscore) result = "_";