diff --git a/core/ctk/ctk.h b/core/ctk/ctk.h index 65175d9fb..188bc8fa3 100644 --- a/core/ctk/ctk.h +++ b/core/ctk/ctk.h @@ -43,7 +43,7 @@ * * This file is part of the Contiki desktop OS. * - * $Id: ctk.h,v 1.5 2007/12/20 20:45:06 oliverschmidt Exp $ + * $Id: ctk.h,v 1.6 2008/11/27 23:40:24 adamdunkels Exp $ * */ @@ -237,6 +237,10 @@ typedef CTK_ARCH_KEY_T ctk_arch_key_t; typedef char ctk_arch_key_t; #endif /* CTK_ARCH_KEY_T */ +#ifndef CH_ENTER +#define CH_ENTER '\n' +#endif /* CH_ENTER */ + struct ctk_textentry; typedef unsigned char (* ctk_textentry_input)(ctk_arch_key_t c, struct ctk_textentry *t);