Commit d21bb304 authored by Davis King's avatar Davis King

Changed code to avoid compiler errors in some environments.

parent 7fdd2850
...@@ -75,7 +75,7 @@ namespace dlib ...@@ -75,7 +75,7 @@ namespace dlib
destructed(data_mutex), destructed(data_mutex),
do_not_ever_destruct(false) 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 // 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 // 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 // the python interpreter you will get the interpreter to hang. Or if we are
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment