We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d04100f commit 45c634cCopy full SHA for 45c634c
1 file changed
src/client/main.cpp
@@ -66,6 +66,12 @@ void command_init(const Strings &args);
66
67
int main(int argc, char *argv[])
68
{
69
+ // globals init
70
+ Executor e;
71
+ getExecutor(&e);
72
+
73
+ //
74
75
Strings args;
76
for (auto i = 0; i < argc; i++)
77
args.push_back(argv[i]);
@@ -1065,3 +1071,13 @@ ApiResult api_call(const String &cmd, const Strings &args)
1065
1071
1066
1072
return ApiResult::NotHandled;
1067
1073
}
1074
1075
+#ifdef _WIN32
1076
+__declspec(dllexport)
1077
+#else
1078
+__attribute__((visibility("default")))
1079
+#endif
1080
+String getProgramName()
1081
+{
1082
+ return "cppan";
1083
+}
0 commit comments