mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	dl/dl.h: suppress warning
* ext/dl/dl.h (dlopen): suppress unused-but-set-variable warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									e3b9ed7649
								
							
						
					
					
						commit
						d0536f6514
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -22,7 +22,7 @@
 | 
			
		|||
#else
 | 
			
		||||
# if defined(_WIN32)
 | 
			
		||||
#   include <windows.h>
 | 
			
		||||
#   define dlopen(name,flag) ((void*)LoadLibrary(name))
 | 
			
		||||
#   define dlopen(name,flag) ((void)(flag),(void*)LoadLibrary(name))
 | 
			
		||||
#   define dlerror() strerror(rb_w32_map_errno(GetLastError()))
 | 
			
		||||
#   define dlsym(handle,name) ((void*)GetProcAddress((handle),(name)))
 | 
			
		||||
#   define RTLD_LAZY -1
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue