2023-12-06 14:42:57 +01:00
|
|
|
#ifdef WIN32
|
2023-11-08 13:02:26 +01:00
|
|
|
|
2023-12-06 14:42:57 +01:00
|
|
|
#include <QCoreApplication>
|
|
|
|
#include "tslib.h"
|
|
|
|
|
|
|
|
int main(int argc, char *argv[])
|
|
|
|
{
|
|
|
|
QCoreApplication a(argc, argv);
|
|
|
|
|
|
|
|
return a.exec();
|
|
|
|
}
|
|
|
|
|
|
|
|
#else
|
2023-11-08 13:02:26 +01:00
|
|
|
|
2023-11-08 16:25:29 +01:00
|
|
|
#undef _FORTIFY_SOURCE
|
|
|
|
|
|
|
|
#include <unistd.h> // _exit(0)
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
// Must define the interpreter to be the dynamic linker
|
2024-02-01 15:01:18 +01:00
|
|
|
//#ifdef __LP64__
|
|
|
|
//#error "__LP64__ not defined for PTU5"
|
|
|
|
//#else
|
|
|
|
//const char service_interp[] __attribute__((section(".interp"))) = "/lib/ld-linux-armhf.so.3";
|
|
|
|
//#endif
|
2023-11-08 16:25:29 +01:00
|
|
|
|
|
|
|
|
|
|
|
int main(int argc, char *argv[]) {
|
|
|
|
(void)argc;
|
|
|
|
(void)argv;
|
|
|
|
|
|
|
|
printf("%s %s %s\n", APP_EXTENDED_VERSION, APP_BUILD_DATE, APP_BUILD_TIME);
|
|
|
|
_exit(0);
|
2023-11-08 13:02:26 +01:00
|
|
|
}
|
2023-11-08 16:25:29 +01:00
|
|
|
|
|
|
|
#endif
|