os: prevent unnecessary dependencies when importing `os` on windows (#6741)
							parent
							
								
									cd399b7e6e
								
							
						
					
					
						commit
						cc4bb71f29
					
				| 
						 | 
					@ -2,8 +2,6 @@ module os
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import strings
 | 
					import strings
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#flag -lws2_32
 | 
					 | 
				
			||||||
#include <winsock2.h>
 | 
					 | 
				
			||||||
#include <process.h>
 | 
					#include <process.h>
 | 
				
			||||||
pub const (
 | 
					pub const (
 | 
				
			||||||
	path_separator = '\\'
 | 
						path_separator = '\\'
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue