mirror of
				https://github.com/nicbarker/clay.git
				synced 2025-11-04 08:36:17 +00:00 
			
		
		
		
	fix bad ifdef
This commit is contained in:
		
							parent
							
								
									e9e5500077
								
							
						
					
					
						commit
						a790e21d4e
					
				
							
								
								
									
										4
									
								
								clay.h
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								clay.h
									
									
									
									
									
								
							| 
						 | 
				
			
			@ -455,9 +455,9 @@ extern uint32_t Clay__debugViewWidth;
 | 
			
		|||
#ifdef __cplusplus
 | 
			
		||||
#define CLAY__ALIGNMENT(type) alignof(type)
 | 
			
		||||
#define CLAY__INIT(type) type
 | 
			
		||||
#elif
 | 
			
		||||
#else
 | 
			
		||||
#define CLAY__INIT(type) (type)
 | 
			
		||||
#define CLAY__ALIGNMENT(type) (offsetof(struct { char c; type x; } a, a.x))
 | 
			
		||||
#define CLAY__ALIGNMENT(type) (offsetof(struct { char c; type x; }, x))
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
bool Clay__warningsEnabled = true;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue