mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 11:28:22 +00:00
Remove MSVC optimization workaround for SHM_ALL
This commit is contained in:

committed by
Justin M. Keyes

parent
1793ba8176
commit
9a5488c2a6
@@ -2426,11 +2426,6 @@ static bool valid_filetype(char_u *val)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
|
||||||
// MSVC optimizations are disabled for this function because it
|
|
||||||
// incorrectly generates an empty string for SHM_ALL.
|
|
||||||
#pragma optimize("", off)
|
|
||||||
#endif
|
|
||||||
/*
|
/*
|
||||||
* Handle string options that need some action to perform when changed.
|
* Handle string options that need some action to perform when changed.
|
||||||
* Returns NULL for success, or an error message for an error.
|
* Returns NULL for success, or an error message for an error.
|
||||||
@@ -3320,9 +3315,6 @@ did_set_string_option (
|
|||||||
|
|
||||||
return errmsg;
|
return errmsg;
|
||||||
}
|
}
|
||||||
#ifdef _MSC_VER
|
|
||||||
#pragma optimize("", on)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Simple int comparison function for use with qsort()
|
* Simple int comparison function for use with qsort()
|
||||||
|
Reference in New Issue
Block a user