summaryrefslogtreecommitdiffstats
path: root/src/pacman/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pacman/util.h')
-rw-r--r--src/pacman/util.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pacman/util.h b/src/pacman/util.h
index d6c33ed4..45c8b07d 100644
--- a/src/pacman/util.h
+++ b/src/pacman/util.h
@@ -31,7 +31,11 @@
#define UPDATE_SPEED_SEC 0.2f
/* define _() as shortcut for gettext() */
+#ifdef ENABLE_NLS
#define _(str) gettext(str)
+#else
+#define _(str) str
+#endif
int getcols();
int makepath(char *path);