mirror of
				https://github.com/coop-deluxe/sm64coopdx.git
				synced 2025-10-30 08:01:01 +00:00 
			
		
		
		
	fix mac compile
This commit is contained in:
		
							parent
							
								
									7b3d51d32b
								
							
						
					
					
						commit
						5c3ef3d419
					
				
					 2 changed files with 5 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -275,10 +275,10 @@ private:
 | 
			
		|||
};
 | 
			
		||||
 | 
			
		||||
// - `_ItemAllocator_` should be a function of signature: `T *_ItemAllocator_(u32 size)`
 | 
			
		||||
//   allocates buffer of size `_MaxItemSize_`, but does not edit its contents (internal size is 0) 
 | 
			
		||||
//   allocates buffer of size `_MaxItemSize_`, but does not edit its contents (internal size is 0)
 | 
			
		||||
// - `_ItemResize_` should be a function of signature: `void _ItemResize_(T *ptr, u32 oldSize, u32 newSize)`
 | 
			
		||||
//   updates the contents of `ptr`, but does not allocate nor free memory 
 | 
			
		||||
//   updates the contents of `ptr`, but does not allocate nor free memory
 | 
			
		||||
// - `_ItemDeallocator_` should be a function of signature: `void _ItemDeallocator_(T *ptr, u32 size)`
 | 
			
		||||
//   frees buffer of size `size`
 | 
			
		||||
#define DEFINE_MODS_DATA(_Name_, _Type_, _MaxPoolSize_, _MaxItemSize_, _ItemAllocator_, _ItemResize_, _ItemDeallocator_) \
 | 
			
		||||
static ModsData<_Type_, _MaxPoolSize_, _MaxItemSize_, typeof(_ItemAllocator_), typeof(_ItemResize_), typeof(_ItemDeallocator_)> _Name_(_ItemAllocator_, _ItemResize_, _ItemDeallocator_)
 | 
			
		||||
static ModsData<_Type_, _MaxPoolSize_, _MaxItemSize_, decltype(_ItemAllocator_), decltype(_ItemResize_), decltype(_ItemDeallocator_)> _Name_(_ItemAllocator_, _ItemResize_, _ItemDeallocator_)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -149,7 +149,9 @@ static ULONG CaptureStackWalkBackTrace(CONTEXT* ctx, DWORD FramesToSkip, DWORD F
 | 
			
		|||
    #define ARCHITECTURE_STR "32-bit"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef __USE_GNU
 | 
			
		||||
#define __USE_GNU
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include <signal.h>
 | 
			
		||||
#include <execinfo.h>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue