mirror of
				git://git.code.sf.net/p/cdesktopenv/code
				synced 2025-03-09 15:50:02 +00:00 
			
		
		
		
	silence macro redefinition warnings (re: 7003aba4)
				
					
				
			src/cmd/ksh93/bltins/test.c, src/cmd/ksh93/sh/arith.c, src/cmd/ksh93/sh/streval.c: - #undef ERROR_exit before redefining it, so clang stops nagging.
This commit is contained in:
		
							parent
							
								
									a9de50bf79
								
							
						
					
					
						commit
						ad349c7668
					
				
					 3 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -32,6 +32,7 @@
 | 
			
		|||
#include	"builtins.h"
 | 
			
		||||
 | 
			
		||||
/* POSIX requires error status > 1 if called from test builtin */
 | 
			
		||||
#undef ERROR_exit
 | 
			
		||||
#define ERROR_exit(n) _ERROR_exit_b_test(n)
 | 
			
		||||
 | 
			
		||||
#ifndef LLONG_MAX
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -37,6 +37,7 @@
 | 
			
		|||
#include	"defs.h"	/* for sh.decomma */
 | 
			
		||||
 | 
			
		||||
/* POSIX requires error status > 1 if called from test builtin */
 | 
			
		||||
#undef ERROR_exit
 | 
			
		||||
#define ERROR_exit(n) _ERROR_exit_b_test(n)
 | 
			
		||||
 | 
			
		||||
#ifndef ERROR_dictionary
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue