diff options
author | Vicent Marti <tanoku@gmail.com> | 2013-01-11 18:19:52 +0100 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2013-01-11 18:19:52 +0100 |
commit | 6e237de6d84fdfc44e1f466de490e5b74226fb54 (patch) | |
tree | 0df867c2046e81907534babbf51cb9549f2eb287 /deps/regex | |
parent | 32b33d62b2ad8186927ccc029ed36a93ab0def61 (diff) | |
download | libgit2-6e237de6d84fdfc44e1f466de490e5b74226fb54.tar.gz |
regex: Proper define for this thing
Diffstat (limited to 'deps/regex')
-rw-r--r-- | deps/regex/regex_internal.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/deps/regex/regex_internal.h b/deps/regex/regex_internal.h index aa3820740..53ccebecd 100644 --- a/deps/regex/regex_internal.h +++ b/deps/regex/regex_internal.h @@ -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 |