regex: Proper define for this thing

This commit is contained in:
Vicent Marti 2013-01-11 18:19:52 +01:00
parent 32b33d62b2
commit 6e237de6d8

View File

@ -28,11 +28,11 @@
#include <string.h>
#ifndef UNUSED
#ifdef __GNUC__
#define UNUSED __attribute__((unused))
#endif
#else
#define UNUSED
# ifdef __GNUC__
# define UNUSED __attribute__((unused))
# else
# define UNUSED
# endif
#endif
#if defined HAVE_LANGINFO_H || defined HAVE_LANGINFO_CODESET || defined _LIBC