summaryrefslogtreecommitdiff
path: root/deps
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2013-01-11 18:19:52 +0100
committerVicent Marti <tanoku@gmail.com>2013-01-11 18:19:52 +0100
commit6e237de6d84fdfc44e1f466de490e5b74226fb54 (patch)
tree0df867c2046e81907534babbf51cb9549f2eb287 /deps
parent32b33d62b2ad8186927ccc029ed36a93ab0def61 (diff)
downloadlibgit2-6e237de6d84fdfc44e1f466de490e5b74226fb54.tar.gz
regex: Proper define for this thing
Diffstat (limited to 'deps')
-rw-r--r--deps/regex/regex_internal.h10
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