diff options
Diffstat (limited to 'include/types.h')
-rw-r--r-- | include/types.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/types.h b/include/types.h index 7f99f80c..6a9681d0 100644 --- a/include/types.h +++ b/include/types.h @@ -26,6 +26,16 @@ extern "C" { #endif +#ifndef FALSE +#define FALSE (0) +#endif + +#ifndef TRUE +#define TRUE (!FALSE) +#endif + +typedef int ofono_bool_t; + /* MCC is always three digits. MNC is either two or three digits */ #define OFONO_MAX_MCC_LENGTH 3 #define OFONO_MAX_MNC_LENGTH 3 |