[FIX] build for new projects with PRIVATE_CAPI_APPFW 54/25254/1
authorVasiliy Ulyanov <v.ulyanov@samsung.com>
Fri, 1 Aug 2014 05:53:45 +0000 (09:53 +0400)
committerVasiliy Ulyanov <v.ulyanov@samsung.com>
Fri, 1 Aug 2014 05:53:45 +0000 (09:53 +0400)
Change-Id: I1f1117fbe491dda02e69feaac407da4fc0a49e72
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
probe_capi/capi_appfw.c

index 6e20325ffce1e383597a4eaa371806b1ecc2d0c7..716e250408729ebc8168a480be898b84f18f74f2 100644 (file)
 #include "probeinfo.h"
 #include "binproto.h"
 
+/* FIXME think of a better solution for conditional build. */
+#ifndef PRIVATE_CAPI_APPFW
+
+#if !defined(service_h)
+#define PRIVATE_CAPI_APPFW
+#endif /* !service_h */
+
+#endif /* !PRIVATE_CAPI_APPFW */
+
 Ecore_Event_Handler *register_orientation_event_listener();
 void unregister_orientation_event_listener(Ecore_Event_Handler *handler);