summaryrefslogtreecommitdiffstats
path: root/src/test-stubs.cpp
diff options
context:
space:
mode:
authorJasper van de Gronde <jasper.vandegronde@gmail.com>2008-12-08 10:03:49 +0000
committerjaspervdg <jaspervdg@users.sourceforge.net>2008-12-08 10:03:49 +0000
commit501cc24348be080989835454dae65f6a8e2bc69a (patch)
tree5d9f7b81721f0eec76838165641ad24cc44e4a5a /src/test-stubs.cpp
parentWarning and 'using' cleanup. (diff)
downloadinkscape-501cc24348be080989835454dae65f6a8e2bc69a.tar.gz
inkscape-501cc24348be080989835454dae65f6a8e2bc69a.zip
Removed sp_main_* stubs from individual headers to make the unit tests build on Windows again.
(bzr r6971)
Diffstat (limited to 'src/test-stubs.cpp')
-rw-r--r--src/test-stubs.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test-stubs.cpp b/src/test-stubs.cpp
new file mode 100644
index 000000000..efc5cf7d8
--- /dev/null
+++ b/src/test-stubs.cpp
@@ -0,0 +1,4 @@
+
+// dummy functions to prevent link errors
+int sp_main_gui(int /*argc*/, char const **/*argv*/) { return 0; }
+int sp_main_console(int /*argc*/, char const **/*argv*/) { return 0; }