mirror of
				https://github.com/pbatard/rufus.git
				synced 2024-08-14 23:57:05 +00:00 
			
		
		
		
	Fix compile error on MinGW.
I'm not sure this is actually the correct thing to do. Why is there an extra const?
This commit is contained in:
		
							parent
							
								
									7712ad6e0f
								
							
						
					
					
						commit
						71b8d01f4f
					
				
					 1 changed files with 6 additions and 1 deletions
				
			
		|  | @ -3208,7 +3208,12 @@ FARPROC WINAPI dllDelayLoadHook(unsigned dliNotify, PDelayLoadInfo pdli) | |||
| 
 | ||||
| 	return NULL; | ||||
| } | ||||
| const PfnDliHook __pfnDliNotifyHook2 = dllDelayLoadHook; | ||||
| 
 | ||||
| #ifdef _MSC_VER | ||||
| // For some reason the Windows SDK headers have a `const` while MinGW does not.
 | ||||
| const | ||||
| #endif | ||||
| PfnDliHook __pfnDliNotifyHook2 = dllDelayLoadHook; | ||||
| 
 | ||||
| /*
 | ||||
|  * Application Entrypoint | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue