Commit a9c0bb4b authored by Victor Zverovich's avatar Victor Zverovich

Fix a warning on msvc/clang (#703)

parent 64440783
...@@ -161,7 +161,7 @@ int safe_strerror( ...@@ -161,7 +161,7 @@ int safe_strerror(
ERANGE : result; ERANGE : result;
} }
#ifdef __c2__ #ifdef __clang__
# pragma clang diagnostic push # pragma clang diagnostic push
# pragma clang diagnostic ignored "-Wdeprecated-declarations" # pragma clang diagnostic ignored "-Wdeprecated-declarations"
#endif #endif
...@@ -173,7 +173,7 @@ int safe_strerror( ...@@ -173,7 +173,7 @@ int safe_strerror(
return errno; return errno;
} }
#ifdef __c2__ #ifdef __clang__
# pragma clang diagnostic pop # pragma clang diagnostic pop
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment