mirror of
				https://github.com/godotengine/godot.git
				synced 2025-11-04 07:31:16 +00:00 
			
		
		
		
	45d22583b4
Mostly style changes, a couple new methods and fixes.
Tweak file structure a bit.
		
	
			
		
			
				
	
	
		
			18 lines
		
	
	
	
		
			552 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			552 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
diff --git a/thirdparty/wslay/includes/wslay/wslay.h b/thirdparty/wslay/includes/wslay/wslay.h
 | 
						|
index 77a4e8253f..ac6873613f 100644
 | 
						|
--- a/thirdparty/wslay/includes/wslay/wslay.h
 | 
						|
+++ b/thirdparty/wslay/includes/wslay/wslay.h
 | 
						|
@@ -33,6 +33,13 @@ extern "C" {
 | 
						|
 #include <stdlib.h>
 | 
						|
 #include <sys/types.h>
 | 
						|
 
 | 
						|
+/* GODOT ADDITTION */
 | 
						|
+#if defined(_MSC_VER)
 | 
						|
+#include <BaseTsd.h>
 | 
						|
+typedef SSIZE_T ssize_t;
 | 
						|
+#endif
 | 
						|
+/* GODOT END */
 | 
						|
+
 | 
						|
 /*
 | 
						|
  * wslay/wslayver.h is generated from wslay/wslayver.h.in by
 | 
						|
  * configure. The projects which do not use autotools can set
 |