Compile fixes for evas examples.
authorJonas M. Gastal <jgastal@profusion.mobi>
Fri, 9 Mar 2012 18:05:56 +0000 (18:05 +0000)
committerJonas M. Gastal <jgastal@profusion.mobi>
Fri, 9 Mar 2012 18:05:56 +0000 (18:05 +0000)
SVN revision: 69113

legacy/evas/src/examples/evas-box.c
legacy/evas/src/examples/evas-hints.c

index 13f12cf..ec79535 100644 (file)
@@ -5,7 +5,7 @@
  * one). See stdout/stderr for output.
  *
  * @verbatim
- * gcc -o evas-box evas-box.c `pkg-config --libs --cflags evas ecore ecore-evas`
+ * gcc -o evas-box evas-box.c `pkg-config --libs --cflags evas ecore ecore-evas eina`
  * @endverbatim
  */
 
index c42444c..78c09ba 100644 (file)
@@ -16,6 +16,8 @@
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
+#else
+#define __UNUSED__
 #endif
 
 #include <Ecore.h>
@@ -27,6 +29,7 @@
 
 #define WIDTH  320
 #define HEIGHT 480
+#define PACKAGE_EXAMPLES_DIR "."
 
 static const char commands[] = \
   "commands are:\n"