-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b146ad1
commit f7b8757
Showing
10 changed files
with
2,439 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#include "../src/mk_clib_app_defrag.h" | ||
|
||
|
||
#if (mk_lang_platform == mk_lang_platform_windows_61 || mk_lang_platform == mk_lang_platform_windows_60 || mk_lang_platform == mk_lang_platform_windows) && (defined mk_lang_nodefaultlib_want && mk_lang_nodefaultlib_want == 1) | ||
|
||
mk_lang_extern_c mk_lang_types_sint_t mkentry(mk_lang_types_void_pt const peb) mk_lang_noexcept | ||
{ | ||
return mk_clib_app_defrag_peb(peb); | ||
} | ||
|
||
#elif mk_lang_platform == mk_lang_platform_windows_61 || mk_lang_platform == mk_lang_platform_windows_60 || mk_lang_platform == mk_lang_platform_windows | ||
|
||
mk_lang_types_sint_t wmain(mk_lang_types_sint_t const argc, mk_lang_types_wchar_pcpct const argv) mk_lang_noexcept | ||
{ | ||
return mk_clib_app_defrag_arg(mk_lang_true, argc, ((mk_lang_types_pchar_pcpct)(argv))); | ||
} | ||
|
||
#elif mk_lang_platform == mk_lang_platform_linux || mk_lang_platform == mk_lang_platform_portable | ||
|
||
mk_lang_types_sint_t main(mk_lang_types_sint_t const argc, mk_lang_types_pchar_pcpct const argv) mk_lang_noexcept | ||
{ | ||
return mk_clib_app_defrag_arg(mk_lang_false, argc, ((mk_lang_types_pchar_pcpct)(argv))); | ||
} | ||
|
||
#else | ||
|
||
#error toto xxxxxxxxxx | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/ARM/ | ||
/ARM64/ | ||
/ARM64EC/ | ||
/Debug/ | ||
/Release/ | ||
/x64/ | ||
|
||
mkdefrag.vcxproj.user |
Oops, something went wrong.