mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 12:11:15 -06:00 
			
		
		
		
	 c10f6a622d
			
		
	
	
		c10f6a622d
		
	
	
	
	
		
			
			boost::polygon Voronoi diagram generator by Vojtech. Fixed Perl bindings on Windows after some "improvement" of the Windows 10 SDK headers, which fail if included from a C++ code using the extern "C" clause. Namely, the Windows 10 SDK include for sockets introduces C++ macros if a "compiled with C++" symbol is provided even if included through exetrn "C".
		
			
				
	
	
		
			27 lines
		
	
	
		
			No EOL
		
	
	
		
			480 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			No EOL
		
	
	
		
			480 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| #include <cstring>
 | |
| #include <cstdlib>
 | |
| #include <ostream>
 | |
| #include <sstream>
 | |
| // #include <libslic3r/GCodeSender.hpp>
 | |
| 
 | |
| #ifdef __cplusplus
 | |
| /* extern "C" { */
 | |
| #endif
 | |
| #include "EXTERN.h"
 | |
| #include "perl.h"
 | |
| #include "XSUB.h"
 | |
| #include "ppport.h"
 | |
| #undef do_open
 | |
| #undef do_close
 | |
| #ifdef __cplusplus
 | |
| /* } */
 | |
| #endif
 | |
| 
 | |
| #ifdef _WIN32
 | |
| 	#undef XS_EXTERNAL
 | |
| 	#define XS_EXTERNAL(name) __declspec(dllexport) XSPROTO(name)
 | |
| #endif /* MSVC */
 | |
| 
 | |
| MODULE = Slic3r::XS	PACKAGE = Slic3r::XS
 | |
| 
 | |
| @INCLUDE_COMMANDS@ |