Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Diff of /src/hugin1/base_wx/platform.h [7051cd] .. [075d93] Maximize Restore

  Switch to side-by-side view

--- a/src/hugin1/base_wx/platform.h
+++ b/src/hugin1/base_wx/platform.h
@@ -29,13 +29,22 @@
 
 #include "panoinc_WX.h"
 
-#if defined __WXMAC__ && defined MAC_SELF_CONTAINED_BUNDLE
+#if defined __WXMAC__ 
+
 #include <CoreFoundation/CFString.h>
 #include <wx/mac/private.h>
+
+wxString MacPathToMainBundleExecutable(CFStringRef bundlePath);
+
+if defined MAC_SELF_CONTAINED_BUNDLE
+
 wxString MacGetPathTOBundledResourceFile(CFStringRef filename);
 wxString MacGetPathTOBundledExecutableFile(CFStringRef filename);
 wxString MacGetPathTOBundledAppMainExecutableFile(CFStringRef filename);
 wxString MacGetPathTOUserDomainTempDir();
-#endif
+
+#endif // MAC_SELF_CONTAINED_BUNDLE
+
+#endif __WXMAC__
 
 #endif