[bug] error macros not defined
authorParichay Kapoor <pk.kapoor@samsung.com>
Fri, 12 Jun 2020 10:07:33 +0000 (19:07 +0900)
committerJijoong Moon <jijoong.moon@samsung.com>
Mon, 15 Jun 2020 00:17:50 +0000 (09:17 +0900)
Corrected some of the error state macros which were wrongly defined

Signed-off-by: Parichay Kapoor <pk.kapoor@samsung.com>
nntrainer/include/nntrainer_error.h

index 8b8bed34fd41ab4a859f9c060ab243fff73d6418..d4ec669a78aabdcdc30c55532f5354326ea86b74 100644 (file)
@@ -40,8 +40,8 @@
 #define ML_ERROR_NONE (0)
 #define ML_ERROR_INVALID_PARAMETER (-EINVAL)
 #define ML_ERROR_UNKNOWN (-1073741824LL)
-#define ML_ERROR_TIMED_OUT (TIZEN_ERROR_UNKNOWN + 1)
-#define ML_ERROR_NOT_SUPPORTED (TIZEN_ERROR_UNKNOWN + 2)
+#define ML_ERROR_TIMED_OUT (ML_ERROR_UNKNOWN + 1)
+#define ML_ERROR_NOT_SUPPORTED (ML_ERROR_UNKNOWN + 2)
 #define ML_ERROR_PERMISSION_DENIED (-EACCES)
 #define ML_ERROR_OUT_OF_MEMORY (-ENOMEM)
 #define ML_ERROR_CANNOT_ASSIGN_ADDRESS (-EADDRNOTAVAIL)