Просмотр исходного кода

Fixed the SDL build in Mingw (hopefully!)

Ivan Safrin 14 лет назад
Родитель
Сommit
486cfee552
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      Core/Contents/Source/PolySDLCore.cpp

+ 4 - 0
Core/Contents/Source/PolySDLCore.cpp

@@ -24,6 +24,10 @@
 
 using namespace Polycode;
 
+long getThreadID() {
+	return (long)pthread_self();
+}
+
 SDLCore::SDLCore(PolycodeViewBase *view, int xRes, int yRes, bool fullScreen,int aaLevel, int frameRate) : Core(xRes, yRes, fullScreen,aaLevel, frameRate) {
 
 	String *windowTitle = (String*)view->windowData;