Skip to content

Commit

Permalink
fastsync: added warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Tk-Glitch committed Jul 21, 2024
1 parent 0ac331d commit f2039da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wine-tkg-git/wine-tkg-patches/misc/fastsync/fastsync
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
if [ "$_use_fastsync" = "true" ] || [ "$_use_ntsync" = "true" ] && [[ "$_custom_wine_source" = *"ValveSoftware"* ]]; then # not allowed on Valve tree
error "NTsync/Winesync is not currently supported on Valve trees. It'll be forcibly disabled."
elif [ "$_use_fastsync" = "true" ]; then
warning "fastsync/Winesync is deprecated and unmaintained and thus its use is discouraged - You're invited to move to its newer NTsync iteration"
# check Linux headers
winesync_header_check=$(echo '#include <linux/winesync.h>' | gcc -H -E -fsyntax-only - 2>&1 | head -n1 | cut -d' ' -f2-)
if [[ ! -s $winesync_header_check ]]; then
Expand Down

0 comments on commit f2039da

Please sign in to comment.