ICU-12705 disable opt on vs2015

workaround for failure on 32 bit release with vs2015update3

X-SVN-Rev: 39224
This commit is contained in:
Steven R. Loomis 2016-09-14 20:58:08 +00:00
parent 6fa604826e
commit de23e2458b

View file

@ -19,6 +19,17 @@
#include "ulocimp.h"
#include "uassert.h"
/**
* Ticket #12705 - VS2015 update 3, 32 bit release mode casues this file to have failures.
* As a workaround, we will turn off optimization just for this file.
*/
#if (defined(_MSC_VER) && (_MSC_VER >= 1900))
# pragma optimize("", off)
#endif
/* struct holding a single variant */
typedef struct VariantListEntry {
const char *variant;