Simplify build process
[src/app-framework-binder.git] / src / afb-api-so-v1.c
index 7db686d..c7b40e8 100644 (file)
@@ -15,6 +15,8 @@
  * limitations under the License.
  */
 
+#if defined(WITH_LEGACY_BINDING_V1)
+
 #define _GNU_SOURCE
 
 #include <stdio.h>
@@ -217,3 +219,5 @@ error:
        return -1;
 }
 
+#endif
+