Fix pragma usage
authorBehdad Esfahbod <behdad@behdad.org>
Sun, 5 Jul 2015 21:43:17 +0000 (22:43 +0100)
committerBehdad Esfahbod <behdad@behdad.org>
Sun, 5 Jul 2015 21:43:17 +0000 (22:43 +0100)
commit9ae156b76820d9079bae062e7e38c34a386d9bd2
tree6fe04cfc2675dee5597a84cd9aac963609adff5f
parent5f13bbd9d4b0970851626e2ce3cf4ecb3cfde801
Fix pragma usage

https://bugs.freedesktop.org/show_bug.cgi?id=91228

Commit cdcdfe61b97a0a48ccf834b6d924d187da9609be changed two `#pragma
message` to `#pragma error` in hb-unicode.cc, however MSVC uses #error,
just like the #else branch. `#pragma error` is an unknown pragma so
MSVC does not fail the build because of it, which I believe was the
intention of that commit.

If it's meant to be an #error, then the #ifdef for _MSC_VER can be
removed entirely.
src/hb-unicode.cc
src/hb-warning.cc