aboutsummaryrefslogtreecommitdiffhomepage
path: root/wgetopt.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-08-01 16:32:52 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-08-04 11:34:45 -0700
commit8185bee4b83ce94f098cd07a360a0d78ad781c78 (patch)
tree9d93c0c617de4c25e4acd49ff8383ce2a8d84e0c /wgetopt.cpp
parent2e1b3325c63cd6c43a10a08acfc54d1fb29a5c03 (diff)
Lots of work towards making fish build without warnings on Mountain Lion, mostly in terms of using size_t instead of int
Diffstat (limited to 'wgetopt.cpp')
-rw-r--r--wgetopt.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/wgetopt.cpp b/wgetopt.cpp
index 51786288..b956b5a5 100644
--- a/wgetopt.cpp
+++ b/wgetopt.cpp
@@ -179,6 +179,10 @@ static char *posixly_correct;
/**
Use translation functions if available
*/
+#ifdef _
+ #undef _
+#endif
+
#ifdef HAVE_TRANSLATE_H
#ifdef USE_GETTEXT
#define _(string) wgettext(string)