Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 263316
b: refs/heads/master
c: 47c3363
h: refs/heads/master
v: v3
  • Loading branch information
Dominik Brodowski committed Aug 19, 2011
1 parent e24cfc1 commit 1eb61ef
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 63b37de12889b7b96463b7d6de6d3f3704486b91
refs/heads/master: 47c336307a3680cfdf4adbe718d79f3fe66702ea
1 change: 1 addition & 0 deletions trunk/tools/power/cpupower/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ CFLAGS += -pipe
ifeq ($(strip $(NLS)),true)
INSTALL_NLS += install-gmo
COMPILE_NLS += create-gmo
CFLAGS += -DNLS
endif

ifeq ($(strip $(CPUFREQ_BENCH)),true)
Expand Down
9 changes: 9 additions & 0 deletions trunk/tools/power/cpupower/utils/helpers/helpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,20 @@
#include "helpers/bitmask.h"

/* Internationalization ****************************/
#ifdef NLS

#define _(String) gettext(String)
#ifndef gettext_noop
#define gettext_noop(String) String
#endif
#define N_(String) gettext_noop(String)

#else /* !NLS */

#define _(String) String
#define N_(String) String

#endif
/* Internationalization ****************************/

extern int run_as_root;
Expand Down

0 comments on commit 1eb61ef

Please sign in to comment.