From 8b1fb61df26649e1dec626ef9120fc787a831fcc Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Mon, 22 Oct 2007 23:52:55 -0500 Subject: Ensure all localization stuff is correctly guarded Anything dealing with libintl and localization should be correctly guarded inside an ENABLE_NLS block on both the pacman and libalpm sides. Signed-off-by: Dan McGee --- src/pacman/util.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/pacman/util.h') diff --git a/src/pacman/util.h b/src/pacman/util.h index 876f8175..2814a780 100644 --- a/src/pacman/util.h +++ b/src/pacman/util.h @@ -24,20 +24,20 @@ #include #include #include -#include /* here so it doesn't need to be included elsewhere */ #include -/* update speed for the fill_progress based functions */ -#define UPDATE_SPEED_SEC 0.2f - -/* define _() as shortcut for gettext() */ #ifdef ENABLE_NLS +#include /* here so it doesn't need to be included elsewhere */ +/* define _() as shortcut for gettext() */ #define _(str) gettext(str) #else #define _(str) str #endif +/* update speed for the fill_progress based functions */ +#define UPDATE_SPEED_SEC 0.2f + int needs_transaction(); int getcols(); int makepath(const char *path); -- cgit v1.2.3