rt3573sta
rt3573sta copied to clipboard
updates for Ubuntu 16.04 compatibility
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