mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Some Linuxes/gcc versions hide LLONG_MAX/MIN unless the compiler is told to use
C99, so use -std=c99 on Linux.
This commit is contained in:
		
							
								
								
									
										4
									
								
								configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								configure
									
									
									
									
										vendored
									
									
								
							@@ -1,5 +1,5 @@
 | 
			
		||||
#!/bin/sh
 | 
			
		||||
# $Id: configure,v 1.18 2009-07-14 06:47:12 nicm Exp $
 | 
			
		||||
# $Id: configure,v 1.19 2009-07-31 10:30:40 nicm Exp $
 | 
			
		||||
 | 
			
		||||
TMUX_PLATFORM=${TMUX_PLATFORM:-`uname -s`}
 | 
			
		||||
 | 
			
		||||
@@ -82,7 +82,7 @@ SRCS+= osdep-linux.c \
 | 
			
		||||
	compat/strtonum.c \
 | 
			
		||||
        compat/getopt.c \
 | 
			
		||||
	compat/vis.c
 | 
			
		||||
CFLAGS+= -D_GNU_SOURCE -D_POSIX_SOURCE
 | 
			
		||||
CFLAGS+= -std=c99 -D_GNU_SOURCE -D_POSIX_SOURCE
 | 
			
		||||
LIBS+= -lcrypt -lutil
 | 
			
		||||
EOF
 | 
			
		||||
	;;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user