Define _POSIX_C_SOURCE only if it is not defined

Fixes https://github.com/behdad/harfbuzz/pull/45
pull/46/head
Behdad Esfahbod 10 years ago
parent 6bd5646f1b
commit 73f7f8919e
  1. 2
      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"

Loading…
Cancel
Save