Re: [AD] [Lin] KEY_* redefined and most shared driver modules not getting built. |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: Conductors <conductors@xxxxxxxxxx>
- Subject: Re: [AD] [Lin] KEY_* redefined and most shared driver modules not getting built.
- From: Thomas Fjellstrom <tfjellstrom@xxxxxxxxxx>
- Date: Mon, 16 Jul 2001 19:58:13 -0600
Henrik Stokseth wrote:
>
> Thomas Fjellstrom <tfjellstrom@xxxxxxxxxx> wrote:
>
> > 1. When compiling (with kernel 2.4.*) ljoy.c includes
> > linux/joystick.h which includes linux/input.h
> > which defines a ton of KEY_* macros.
>
> in ljoy.c before #include <linux/joystick.h> add the line:
>
> #define KEY LJOY_KEY
>
> ...and tell me if it works.
>
> -henrik
Does cpp really substitute part identifiers?
I don't think your define will change KEY_L
to LJOY_KEY_L...
--
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx
http://strangesoft.net