Skip to content

Commit

Permalink
Fix minor mac compilation issue
Browse files Browse the repository at this point in the history
The "OpenApplication" function in the "Portability.cpp" file had a
parameter extra in the "else" "ifdef" branch and so it wasn't found by
the linker.
  • Loading branch information
folmos-at-orange authored and marcboulle committed Oct 4, 2023
1 parent 3c3314f commit d9d2e0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Norm/base/Portability.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -526,8 +526,8 @@ int OpenApplication(const char* sApplicationExeName, const char* sApplicationLab

#else
// Implementation du lancement d'executable avec erreur pour les autres OS
int OpenApplication(const char* sApplicationExeName, const char* sApplicationLabel, const char* sExtension,
const char* sFileToOpen, char* sErrorMessage)
int OpenApplication(const char* sApplicationExeName, const char* sApplicationLabel, const char* sFileToOpen,
char* sErrorMessage)
{
int ok;

Expand Down

0 comments on commit d9d2e0e

Please sign in to comment.