Workaround for linking Python on win32
This commit is contained in:
		@@ -29,8 +29,11 @@
 | 
				
			|||||||
 * BLI_string_utf8() for unicode conversion.
 | 
					 * BLI_string_utf8() for unicode conversion.
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/* TODO, resolve linking errors on win32 */
 | 
				
			||||||
 | 
					#ifndef _WIN32
 | 
				
			||||||
/* needed for Py3.6+ to access Py_PyThreadState_Current */
 | 
					/* needed for Py3.6+ to access Py_PyThreadState_Current */
 | 
				
			||||||
#define Py_BUILD_CORE
 | 
					#define Py_BUILD_CORE
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <Python.h>
 | 
					#include <Python.h>
 | 
				
			||||||
#include <frameobject.h>
 | 
					#include <frameobject.h>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user