Merge pull request #1224 from dezgeg/configh
Unbreak 32-bit builds by always implicitly including config.h
This commit is contained in:
		
						commit
						62ff5ad424
					
				
					 16 changed files with 2 additions and 26 deletions
				
			
		
							
								
								
									
										2
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
										
									
									
									
								
							|  | @ -28,7 +28,7 @@ makefiles = \ | ||||||
|   doc/manual/local.mk \
 |   doc/manual/local.mk \
 | ||||||
|   tests/local.mk |   tests/local.mk | ||||||
| 
 | 
 | ||||||
| GLOBAL_CXXFLAGS += -std=c++14 -g -Wall | GLOBAL_CXXFLAGS += -std=c++14 -g -Wall -include config.h | ||||||
| 
 | 
 | ||||||
| -include Makefile.config | -include Makefile.config | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -61,7 +61,7 @@ CFLAGS= | ||||||
| CXXFLAGS= | CXXFLAGS= | ||||||
| AC_PROG_CC | AC_PROG_CC | ||||||
| AC_PROG_CXX | AC_PROG_CXX | ||||||
| AX_CXX_COMPILE_STDCXX_11 | AX_CXX_COMPILE_STDCXX_14 | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| # Use 64-bit file system calls so that we can support files > 2 GiB. | # Use 64-bit file system calls so that we can support files > 2 GiB. | ||||||
|  |  | ||||||
|  | @ -1,4 +1,3 @@ | ||||||
| #include "config.h" |  | ||||||
| #include "json-to-value.hh" | #include "json-to-value.hh" | ||||||
| 
 | 
 | ||||||
| #include <cstring> | #include <cstring> | ||||||
|  |  | ||||||
|  | @ -1,7 +1,5 @@ | ||||||
| #pragma once | #pragma once | ||||||
| 
 | 
 | ||||||
| #include "config.h" |  | ||||||
| 
 |  | ||||||
| #include <map> | #include <map> | ||||||
| #include <unordered_set> | #include <unordered_set> | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -1,6 +1,5 @@ | ||||||
| #pragma once | #pragma once | ||||||
| 
 | 
 | ||||||
| #include "config.h" |  | ||||||
| #include "symbol-table.hh" | #include "symbol-table.hh" | ||||||
| 
 | 
 | ||||||
| #if HAVE_BOEHMGC | #if HAVE_BOEHMGC | ||||||
|  |  | ||||||
|  | @ -1,5 +1,3 @@ | ||||||
| #include "config.h" |  | ||||||
| 
 |  | ||||||
| #include "common-args.hh" | #include "common-args.hh" | ||||||
| #include "globals.hh" | #include "globals.hh" | ||||||
| #include "shared.hh" | #include "shared.hh" | ||||||
|  |  | ||||||
|  | @ -1,5 +1,3 @@ | ||||||
| #include "config.h" |  | ||||||
| 
 |  | ||||||
| #include "types.hh" | #include "types.hh" | ||||||
| 
 | 
 | ||||||
| #include <cstring> | #include <cstring> | ||||||
|  |  | ||||||
|  | @ -1,5 +1,3 @@ | ||||||
| #include "config.h" |  | ||||||
| 
 |  | ||||||
| #include "references.hh" | #include "references.hh" | ||||||
| #include "pathlocks.hh" | #include "pathlocks.hh" | ||||||
| #include "globals.hh" | #include "globals.hh" | ||||||
|  |  | ||||||
|  | @ -1,5 +1,3 @@ | ||||||
| #include "config.h" |  | ||||||
| 
 |  | ||||||
| #include "globals.hh" | #include "globals.hh" | ||||||
| #include "util.hh" | #include "util.hh" | ||||||
| #include "archive.hh" | #include "archive.hh" | ||||||
|  |  | ||||||
|  | @ -1,4 +1,3 @@ | ||||||
| #include "config.h" |  | ||||||
| #include "local-store.hh" | #include "local-store.hh" | ||||||
| #include "globals.hh" | #include "globals.hh" | ||||||
| #include "archive.hh" | #include "archive.hh" | ||||||
|  |  | ||||||
|  | @ -1,5 +1,3 @@ | ||||||
| #include "config.h" |  | ||||||
| 
 |  | ||||||
| #include "util.hh" | #include "util.hh" | ||||||
| #include "local-store.hh" | #include "local-store.hh" | ||||||
| #include "globals.hh" | #include "globals.hh" | ||||||
|  |  | ||||||
|  | @ -1,5 +1,3 @@ | ||||||
| #include "config.h" |  | ||||||
| 
 |  | ||||||
| #if ENABLE_S3 | #if ENABLE_S3 | ||||||
| #if __linux__ | #if __linux__ | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -1,5 +1,3 @@ | ||||||
| #include "config.h" |  | ||||||
| 
 |  | ||||||
| #include <cerrno> | #include <cerrno> | ||||||
| #include <algorithm> | #include <algorithm> | ||||||
| #include <vector> | #include <vector> | ||||||
|  |  | ||||||
|  | @ -1,5 +1,3 @@ | ||||||
| #include "config.h" |  | ||||||
| 
 |  | ||||||
| #include <iostream> | #include <iostream> | ||||||
| #include <cstring> | #include <cstring> | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -1,6 +1,5 @@ | ||||||
| #pragma once | #pragma once | ||||||
| 
 | 
 | ||||||
| #include "config.h" |  | ||||||
| 
 | 
 | ||||||
| #include "ref.hh" | #include "ref.hh" | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -1,5 +1,3 @@ | ||||||
| #include "config.h" |  | ||||||
| 
 |  | ||||||
| #include "util.hh" | #include "util.hh" | ||||||
| #include "affinity.hh" | #include "affinity.hh" | ||||||
| #include "sync.hh" | #include "sync.hh" | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue