correctly define _BSD_SOURCE and _XOPEN_SOURCE macros

This commit is contained in:
Sebastian Ramacher 2010-10-04 09:55:21 +02:00
parent cd08c8be70
commit ff0adf4ddc

View file

@ -1,6 +1,7 @@
/* See LICENSE file for license and copyright information */
#define _BSD_SOURCE || _XOPEN_SOURCE >= 500
#define _BSD_SOURCE
#define _XOPEN_SOURCE 500
#include <regex.h>
#include <limits.h>