- put NLS stuff in one central place to avoid redefines.
Fixes warnings about: fdisk.c:45:1: warning: "_" redefined nfsmount.c:121:1: warning: "_" redefined nfsmount.c:122:1: warning: "N_" redefined interface.c:84:1: warning: "_" redefined
This commit is contained in:
		@@ -88,9 +88,13 @@
 | 
			
		||||
    #define BB_BIG_ENDIAN 1
 | 
			
		||||
#elif __BYTE_ORDER == __BIG_ENDIAN
 | 
			
		||||
    #define BB_BIG_ENDIAN 1
 | 
			
		||||
#else 
 | 
			
		||||
#else
 | 
			
		||||
    #define BB_BIG_ENDIAN 0
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* ---- miscellaneous --------------------------------------- */
 | 
			
		||||
/* NLS stuff */
 | 
			
		||||
#define _(Text) Text
 | 
			
		||||
#define N_(Text) (Text)
 | 
			
		||||
 | 
			
		||||
#endif	/* platform.h	*/
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user