Define _POSIX_C_SOURCE only if it is not defined

Fixes https://github.com/behdad/harfbuzz/pull/45
This commit is contained in:
Behdad Esfahbod 2014-07-09 17:17:18 -04:00
parent 6bd5646f1b
commit 73f7f8919e
1 changed files with 2 additions and 0 deletions

View File

@ -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"