Skip to content

Conversation

@carlhuth
Copy link

I removed the DATE and TIME macros from sta_config.c because they throw errors (because a date time will not be the same each build). This should not hurt compatibility at all for prior builds. in os/linux/rt_linux.c I added a version check for compiler compatibility.

#if LINUX_VERSION_CODE > KERNEL_VERSION(4,4,0)
pOSFSInfo->fsuid = current_fsuid().val;
pOSFSInfo->fsgid = current_fsgid().val;
#else
pOSFSInfo->fsuid = current_fsuid();
pOSFSInfo->fsgid = current_fsgid();
#endif

make clean appears to have dropped a file? No other changes should be necessary. Building with
make clean
make
Produces no errors, no warnings. :)

Thanks!

Carl Huth

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant