On Mon, 2 May 2022 at 03:16, Alec Ari via Emc-developers
<emc-developers@lists.sourceforge.net> wrote:

> I don't see how using rtapi_string.h fixes this problem. I know that it 
> works, but I don't see how it possibly can.

is MODULE defined in the RTAI case?

#ifdef MODULE
/* Suspect only very early kernels are missing the basic string functions.
To be sure, see what has been implemented by looking in linux/string.h
and {linux_src_dir}/lib/string.c */
#include <linux/string.h>

If so, then rtapi_string.h pulls in the <linux/string.h>

Which might, or might not, be preferably done directly.

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to