On 15 Jul 2001 15:15:24 +0200, Dominik Vogt wrote: > > On Sun, Jul 15, 2001 at 12:41:29AM +0000, Mikhael Goikhman wrote: > > On 13 Jul 2001 13:06:05 -0500, [EMAIL PROTECTED] wrote: > > > > > > new message incoming/739 > > > > > > From: [EMAIL PROTECTED] > > > Full_Name: Bernhard Simon > > > Version: 2.4.0 > > > CVS_Date: N/A > > > OS: AIX 3.2.5 > > > X_Server: N/A > > > > > > fvwm/menus.c fails to compile > > > cc -DHAVE_CONFIG_H ... -O -c menus.c > > > "menus.c", line 1066.8: 1506-045 (S) Undeclared identifier XK_Page_Up. > > > "menus.c", line 1072.8: 1506-045 (S) Undeclared identifier XK_Page_Down. > > > > > > On AIX 3.2.5 only XK_Prior and XK_Next are defined in > > > /usr/include/X11/keysymdef.h > > > > Fixed. > > Hm, is there a way to provide these macros via configure so that > we won't have to remember this pitfall each time? There isn't > much to it: > > #include <X11/keysydef.h> > #ifndef XK_Page_Up > #define XK_Page_UP XK_Prior > #endif > #ifndef XK_Page_Down > #define XK_Page_Down XK_Next > #endif
FYI, keysymdef.h does not do anything good, keysym.h does. Ok, I implemented some generic mechanism for this kind of things. This should be used with great care not to break anything. Regards, Mikhael. -- Visit the official FVWM web page at <URL:http://www.fvwm.org/>. To unsubscribe from the list, send "unsubscribe fvwm-workers" in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]