summaryrefslogtreecommitdiffstats
path: root/src/freeimage-test.c
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2013-03-11 15:59:02 (GMT)
committerTony Theodore <tonyt@logyst.com>2013-03-11 15:59:02 (GMT)
commit31133c3f44685295bb3d74492cf967813fc6ea03 (patch)
tree1cba9535109e258dfc989aa574e890ab68bd1673 /src/freeimage-test.c
parenta0d71fec950afa0da78483a1bd555310fe7e252c (diff)
downloadmxe-31133c3f44685295bb3d74492cf967813fc6ea03.zip
mxe-31133c3f44685295bb3d74492cf967813fc6ea03.tar.gz
mxe-31133c3f44685295bb3d74492cf967813fc6ea03.tar.bz2
package freeimage: fix static build and add test program
Diffstat (limited to 'src/freeimage-test.c')
-rw-r--r--src/freeimage-test.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/freeimage-test.c b/src/freeimage-test.c
new file mode 100644
index 0000000..a96c16c
--- /dev/null
+++ b/src/freeimage-test.c
@@ -0,0 +1,16 @@
+/*
+ * This file is part of MXE.
+ * See index.html for further information.
+ */
+
+#include <stdio.h>
+#include <FreeImage.h>
+
+int main(int argc, char* argv[])
+{
+ (void)argc;
+ (void)argv;
+
+ printf("%s\n", FreeImage_GetVersion());
+ return 0;
+}