refactor(surface): wrap typedef struct _XDisplay inside #ifdef guards for linux
This commit is contained in:
		
							parent
							
								
									34fa8344ac
								
							
						
					
					
						commit
						84d0026051
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -7,7 +7,9 @@
 | 
				
			||||||
#include <surface/requests/surface.hpp>
 | 
					#include <surface/requests/surface.hpp>
 | 
				
			||||||
#include <variant>
 | 
					#include <variant>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#ifdef LIGHT_PLATFORM_LINUX
 | 
				
			||||||
typedef struct _XDisplay Display;
 | 
					typedef struct _XDisplay Display;
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace lt::surface {
 | 
					namespace lt::surface {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue