Sanitize #include statements
The general rule I'm aiming for is to <> include system wide / installed paths / generally everything that's outside the git managed source tree (this means mruby paths too!), and "" include everything else, ie. local mkxp headers. The only current exception are the mri headers, which all have './' at their front as to not clash with system wide ruby headers. I'm leaving them be for now until I can come up with a better general solution.
This commit is contained in:
		
							parent
							
								
									9a63140f3e
								
							
						
					
					
						commit
						ef2430e0c3
					
				
					 45 changed files with 104 additions and 108 deletions
				
			
		| 
						 | 
				
			
			@ -28,9 +28,9 @@
 | 
			
		|||
#include "./ruby/include/ruby.h"
 | 
			
		||||
#include "./ruby/include/ruby/encoding.h"
 | 
			
		||||
 | 
			
		||||
#include "zlib.h"
 | 
			
		||||
#include <zlib.h>
 | 
			
		||||
 | 
			
		||||
#include "SDL_filesystem.h"
 | 
			
		||||
#include <SDL_filesystem.h>
 | 
			
		||||
 | 
			
		||||
#include <QFile>
 | 
			
		||||
#include <QByteArray>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue