os-windows: Remove FACTOR_DLL which is NULL and only used in one place.
							parent
							
								
									0a5cdfa3e6
								
							
						
					
					
						commit
						268fa0225d
					
				| 
						 | 
				
			
			@ -5,7 +5,7 @@ namespace factor {
 | 
			
		|||
HMODULE hFactorDll;
 | 
			
		||||
 | 
			
		||||
void factor_vm::init_ffi() {
 | 
			
		||||
  hFactorDll = GetModuleHandle(FACTOR_DLL);
 | 
			
		||||
  hFactorDll = GetModuleHandle(NULL);
 | 
			
		||||
  if (!hFactorDll)
 | 
			
		||||
    fatal_error("GetModuleHandle() failed", 0);
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -50,8 +50,6 @@ typedef HANDLE THREADHANDLE;
 | 
			
		|||
 | 
			
		||||
#define FACTOR_OS_STRING "windows"
 | 
			
		||||
 | 
			
		||||
#define FACTOR_DLL NULL
 | 
			
		||||
 | 
			
		||||
// SSE traps raise these exception codes, which are defined in internal NT
 | 
			
		||||
// headers
 | 
			
		||||
// but not winbase.h
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue