Skip to content

Commit

Permalink
[Ref] mpt/main/main.hpp: Add back comment about extern "C" wmain.
Browse files Browse the repository at this point in the history
git-svn-id: https://source.openmpt.org/svn/openmpt/trunk/OpenMPT@21702 56274372-70c3-4bfc-bfc3-4c3a0b034d27
  • Loading branch information
manxorist committed Sep 23, 2024
1 parent cd0ef4c commit 90e3a59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mpt/main/main.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ namespace main {

#if MPT_OS_WINDOWS && (MPT_COMPILER_GCC || MPT_COMPILER_CLANG)
#if defined(UNICODE)
// mingw64 does only default to special C linkage for "main", but not for "wmain".
#define MPT_MAIN_DECL extern "C" int wmain(int argc, wchar_t * argv[]);
#endif
#endif
Expand Down

0 comments on commit 90e3a59

Please sign in to comment.