From: Alexander R. <ale...@gm...> - 2009-03-24 18:06:01
|
Hello! My name is Alex Ray and I'm currently working to port CScope to Minix 3 (using gcc). I have a couple of questions I thought might be clarified. First is related to the <curses.h> standard library. In Minix, curses.h doesn't contain the KEY_LEFT, KEY_RIGHT, etc definitions. In Cscope the preprocessor directives check for KEY_BREAK, KEY_ENTER, and KEY_BACKSPACE, but right now I'm getting an error because in line 142 of /cscope-15.7/src/input.c it references KEY_LEFT (which has passed undefined through all the preprocessing). Should I just manually define KEY_LEFT alongside KEY_BREAK, _ENTER and _BACKSPACE in the preprocessor directives? Thanks ~Alex |