X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fcore%2Funix%2Fmain.cpp;h=434dba1b30c1f25d017897bf6925480aeaf166e0;hp=e7f4c3ce10b998ae4b0e3b99197807db6be08a85;hb=e9606fcfd202207a029fff31f03b8e1a7a0d2963;hpb=b4664bc8a51e2b78e9325feecc196a426ac4fc38 diff --git a/source/core/unix/main.cpp b/source/core/unix/main.cpp index e7f4c3c..434dba1 100644 --- a/source/core/unix/main.cpp +++ b/source/core/unix/main.cpp @@ -1,25 +1,6 @@ -#include #include "application.h" 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