Skip to content

Commit

Permalink
[Fix] mpt/main/main.hpp: We need to verify DJGPP crt0 flags before mo…
Browse files Browse the repository at this point in the history
…difying them.

git-svn-id: https://source.openmpt.org/svn/openmpt/trunk/OpenMPT@21742 56274372-70c3-4bfc-bfc3-4c3a0b034d27
  • Loading branch information
manxorist committed Sep 25, 2024
1 parent 01f5524 commit 93224a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mpt/main/main.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ namespace main {
/* clang-format off */
#define MPT_MAIN_PROLOG() \
do { \
_crt0_startup_flags &= ~_CRT0_FLAG_LOCK_MEMORY; \
assert(mpt::platform::libc().is_ok()); \
_crt0_startup_flags &= ~_CRT0_FLAG_LOCK_MEMORY; \
} while (0) \
/**/
/* clang-format on */
Expand Down

0 comments on commit 93224a8

Please sign in to comment.