[ros-kernel] include/ntos/keyboard.h bug?

James Tabor jimtabor at adsl-64-217-116-74.dsl.hstntx.swbell.net
Thu Nov 6 14:38:05 CET 2003


Royce Mitchell III wrote:

> This can't be right:
>
> #ifndef __cplus_plus
>     /* this will be the wrong size in c++ */
>     KEY_EVENT_RECORD KeyEvent;
> #endif
>
> ( somewhere around line 126 )
>
> at the very least that should be __cplusplus, not __cplus_plus.
>
Hi!
Yeapper! Should be something like this;

#ifdef  __cplusplus
......do something naughty here.....
#endif

Welcome Back!
James



More information about the Ros-kernel mailing list