[kaffe] Please help me understanding this source....
linuxhippy at web.de
Tue Aug 26 02:12:01 PDT 2003
I´m currently porting the native X-Layer of kaffe to CNI, but currently
I´m having strange problems.
I dont understand the following source.
X is a very frequently used variable, but if I use it in my sourcecode
(of course with toolkit.h included), gcc only says that its not defined.
This part is out of kaffe/libraries/awt/X/toolkit.h.
What is Toolkit? Is at some XFree related stuff or is it related to the
Why is it #ifdef?
Please help, my C is (as my Java) terrible ;-)
Toolkit *X = &XTk;
extern Toolkit* X;
#endif /* MAIN */
More information about the kaffe