Skip to content

Commit 25d7801

Browse files
sowicmsowicm
authored andcommitted
fix: MSW detection
1 parent 89bd8d3 commit 25d7801

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

LiteEditor/manager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1751,7 +1751,7 @@ void Manager::ExecuteNoDebug(const wxString& projectName)
17511751
{
17521752
int i = m_filename.Find('.', true);
17531753
wxString strExe = (i < 0 ? m_filename : m_filename.Mid(0, i))
1754-
#if IS_WINDOWS
1754+
#if defined(__WXMSW__)
17551755
+ _T(".exe")
17561756
#endif
17571757
;

Plugin/compile_request.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ void CompileRequest::Process(IManager* manager)
100100

101101
int i = m_fileName.Find('.', true);
102102
wxString strExe = (i < 0 ? m_fileName : m_fileName.Mid(0, i));
103-
#if IS_WINDOWS
103+
#if defined(__WXMSW__)
104104
strExe += _T(".exe");
105105
#endif
106106

0 commit comments

Comments
 (0)