Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore/src/bin


Modified Files:
        ecore_dbus_test.c 


Log Message:
Add a main func when DBUS is disabled

===================================================================
RCS file: /cvs/e/e17/libs/ecore/src/bin/ecore_dbus_test.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- ecore_dbus_test.c   20 Jul 2006 16:48:32 -0000      1.1
+++ ecore_dbus_test.c   21 Jul 2006 20:03:52 -0000      1.2
@@ -86,6 +86,11 @@
    printf("_ecore_dbus_event_server_data\n");
    return 0;
 }
-
-
+#else
+int
+main(int argc, const char **argv)
+{
+   printf("Ecore_DBus module not compiled. This program is empty.\n");
+   return -1;
+}
 #endif



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to