X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fcore%2Funix%2Fmain.cpp;h=58c9fda45e812e362d9f0d18d29568db387cf068;hp=e7f4c3ce10b998ae4b0e3b99197807db6be08a85;hb=41363aed34382386f915f17c1a961750b4fdcb14;hpb=b4664bc8a51e2b78e9325feecc196a426ac4fc38 diff --git a/source/core/unix/main.cpp b/source/core/unix/main.cpp index e7f4c3c..58c9fda 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