Fix compile error on Mac.

This commit is contained in:
Jeff Young 2022-11-03 16:39:39 +00:00
parent 1b93b8c51b
commit 4ad0eeefc6
1 changed files with 2 additions and 1 deletions

View File

@ -22,6 +22,7 @@
*/
#include <wx/log.h>
#include <wx/stdpaths.h> // required on Mac
#include <kiplatform/environment.h>
#include <pgm_base.h>
@ -205,7 +206,7 @@ const wxString PROJECT::libTableName( const wxString& aLibTableName ) const
// application title which is no longer constant or known. This next line needs
// to be re-thought out.
#ifndef __WXMAC__
#ifdef __WXMAC__
fn.AssignDir( KIPLATFORM::ENV::GetUserConfigPath() );
#else
// don't pollute home folder, temp folder seems to be more appropriate