[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] Pesky '#define current' in mini-os/sched.h
Hi, I'm trying to port ncurses to mini-os, and hit an ugly snag: xen-3.3.1/extras/mini-os/include/mini-os/sched.h says near the end: #define current get_current() which clashes with each field or variable named 'current'. Thus it pollutes the global and field namespace real bad, and is very easy to activate through including errno.h if HAVE_LIBC is defined. What is the best way around? -- Thanks, Feri. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |