~jonathank89/burg/burg-percise

« back to all changes in this revision

Viewing changes to util/mkisofs/mkisofs.h

merge mainline into mips

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 
6
6
   Copyright 1993 Yggdrasil Computing, Incorporated
7
7
 
8
 
   Copyright (C) 2009  Free Software Foundation, Inc.
 
8
   Copyright (C) 2009,2010  Free Software Foundation, Inc.
9
9
 
10
10
   This program is free software; you can redistribute it and/or modify
11
11
   it under the terms of the GNU General Public License as published by
30
30
#include <prototyp.h>
31
31
#include <sys/stat.h>
32
32
 
33
 
#include <locale.h>
34
 
#include <libintl.h>
 
33
#if ENABLE_NLS
 
34
 
 
35
#  include <locale.h>
 
36
#  include <libintl.h>
 
37
 
 
38
#else /* ! ENABLE_NLS */
 
39
 
 
40
/* Disabled NLS.
 
41
   The casts to 'const char *' serve the purpose of producing warnings
 
42
   for invalid uses of the value returned from these functions.
 
43
   On pre-ANSI systems without 'const', the config.h file is supposed to
 
44
   contain "#define const".  */
 
45
#  define gettext(Msgid) ((const char *) (Msgid))
 
46
#endif /* ENABLE_NLS */
 
47
 
35
48
#define _(str) gettext(str)
36
49
#define N_(str) str
37
50