projects
/
platform
/
upstream
/
nnstreamer-edge.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4e9cae
)
[Aitt] check feature definition
author
Jaeyun
<jy1210.jung@samsung.com>
Wed, 5 Oct 2022 05:38:11 +0000
(14:38 +0900)
committer
MyungJoo Ham
<myungjoo.ham@samsung.com>
Wed, 5 Oct 2022 06:05:34 +0000
(15:05 +0900)
Code clean, report error when building aitt impl without feature definition.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
src/libnnstreamer-edge/nnstreamer-edge-aitt.c
patch
|
blob
|
history
diff --git
a/src/libnnstreamer-edge/nnstreamer-edge-aitt.c
b/src/libnnstreamer-edge/nnstreamer-edge-aitt.c
index 410f6bb81ba6558a9c1c985a4aafe2be230a3081..9e7cebddb903511c39c41cae97e1223fd41a6ef1 100644
(file)
--- a/
src/libnnstreamer-edge/nnstreamer-edge-aitt.c
+++ b/
src/libnnstreamer-edge/nnstreamer-edge-aitt.c
@@
-10,6
+10,9
@@
* @bug No known bugs except for NYI items
*/
+#if !defined(ENABLE_AITT)
+#error "This file can be built with AITT library."
+#endif
#include <stdbool.h>
#include <aitt_c.h>