diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2014-07-09 17:17:18 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2014-07-09 17:17:18 -0400 |
commit | 73f7f8919ea1f09b8c5b29f231ac84105cde2145 (patch) | |
tree | e96bbcd4f9a4390797feb7171d68db7cc9046893 | |
parent | 6bd5646f1b865a76304a67e03a6161afcfef293f (diff) |
Define _POSIX_C_SOURCE only if it is not defined
Fixes https://github.com/behdad/harfbuzz/pull/45
-rw-r--r-- | src/hb-blob.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hb-blob.cc b/src/hb-blob.cc index d6acca0f..b82b4b2a 100644 --- a/src/hb-blob.cc +++ b/src/hb-blob.cc @@ -25,7 +25,9 @@ */ /* http://www.oracle.com/technetwork/articles/servers-storage-dev/standardheaderfiles-453865.html */ +#ifndef _POSIX_C_SOURCE #define _POSIX_C_SOURCE 199309L +#endif #include "hb-private.hh" |