Quellcode durchsuchen

Boost libraries on windows are too much a hassle to handle, so thread safety is not worth all the trouble => think to move to c++11 thread support

Léo Terziman vor 11 Jahren
Ursprung
Commit
ad55783f56
1 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  1. 3 3
      include/assimp/defs.h

+ 3 - 3
include/assimp/defs.h

@@ -234,9 +234,9 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 	 * threads then and is itself not threadsafe.
 	 * If this flag is specified boost::threads is *not* required. */
 	//////////////////////////////////////////////////////////////////////////
-//#ifndef ASSIMP_BUILD_SINGLETHREADED
-//#	define ASSIMP_BUILD_SINGLETHREADED
-//#endif
+#ifndef ASSIMP_BUILD_SINGLETHREADED
+#	define ASSIMP_BUILD_SINGLETHREADED
+#endif
 
 #if defined(_DEBUG) || ! defined(NDEBUG)
 #	define ASSIMP_BUILD_DEBUG