X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Funix%2Fmain.cpp;h=010459f55aab1d4bb5c4e24b805520784fe2fbb8;hb=HEAD;hp=698ec69ad514ee4d62d20b14ed9a9ec31ae6ff53;hpb=caa878f5426d5d1dbcbe6c3b78656c3618411e7b;p=libs%2Fcore.git diff --git a/source/core/unix/main.cpp b/source/core/unix/main.cpp index 698ec69..010459f 100644 --- a/source/core/unix/main.cpp +++ b/source/core/unix/main.cpp @@ -1,24 +1,7 @@ #include "application.h" +#include "mspcore_api.h" -int main(int argc, char **argv) +MSPCORE_API int main(int argc, char **argv) { - void *data = 0; - -#ifdef __APPLE__ - /* Applications launched from Finder get a special argument, which would - interfere with GetOpt. Remove it from argv but pass it as data so it can - be used to determine how the application was launhed. */ - int j = 0; - for(int i=0; i