src/tools/ftrandom/ftrandom.c (_XOPEN_SOURCE): Set to 600.

This allows C99 compilation on Solaris.

Problem reported by Mojca Miklavec.
unsigned-revisions
Werner Lemberg 3 years ago
parent 7e26c7a6da
commit 77dcc5ed6a
  1. 2
      src/tools/ftrandom/ftrandom.c

@ -29,7 +29,7 @@
/* This file is now part of the FreeType library */
#define _XOPEN_SOURCE 500 /* for `kill', `strdup', `random', and `srandom' */
#define _XOPEN_SOURCE 600 /* for `kill', `strdup', `random', and `srandom' */
#include <stdio.h>

Loading…
Cancel
Save