projects
/
platform
/
upstream
/
libHarfBuzzSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e44b83a
)
Fix MSVC C4068 warning (#1656)
author
Maks Naumov
<maksqwe1@ukr.net>
Fri, 5 Apr 2019 18:46:27 +0000
(21:46 +0300)
committer
Ebrahim Byagowi
<ebrahim@gnu.org>
Fri, 5 Apr 2019 18:46:27 +0000
(11:46 -0700)
src/hb-blob.cc
patch
|
blob
|
history
diff --git
a/src/hb-blob.cc
b/src/hb-blob.cc
index
bcf381e
..
54637c7
100644
(file)
--- a/
src/hb-blob.cc
+++ b/
src/hb-blob.cc
@@
-30,7
+30,7
@@
* http://www.gnu.org/software/libc/manual/html_node/Feature-Test-Macros.html
* https://www.oracle.com/technetwork/articles/servers-storage-dev/standardheaderfiles-453865.html
*/
-#if
ndef _POSIX_C_SOURCE
+#if
!defined(_POSIX_C_SOURCE) && !defined(_MSC_VER)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-macros"
#define _POSIX_C_SOURCE 200809L