diff options
Diffstat (limited to 'src/core/main.cpp')
-rw-r--r-- | src/core/main.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/core/main.cpp b/src/core/main.cpp index eae01fd..a8a4f39 100644 --- a/src/core/main.cpp +++ b/src/core/main.cpp @@ -8,6 +8,10 @@ * (at your option) any later version. * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "ktechlab.h" #include <dcopclient.h> @@ -57,8 +61,12 @@ int main(int argc, char **argv) return app.exec(); } -void exit_gpsim(int ret) +#ifndef NO_GPSIM + +KDE_EXPORT void exit_gpsim(int ret) { printf("gpsim attempted to call exit_gpsim(%d), ***IGNORING***\n", ret); // exit(ret); } + +#endif |