Changed code to avoid compiler errors in some environments.

This commit is contained in:
Davis King 2013-06-11 20:05:54 -04:00
parent 7fdd285057
commit d21bb3043c
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ namespace dlib
destructed(data_mutex),
do_not_ever_destruct(false)
{
#if WIN32
#ifdef WIN32
// Trying to destroy the global thread pool when we are part of a DLL and the
// DLL is being unloaded can sometimes lead to weird behavior. For example, in
// the python interpreter you will get the interpreter to hang. Or if we are