along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-
#if !defined(LOCK_H_INCLUDED)
#define LOCK_H_INCLUDED
-
#if !defined(_MSC_VER)
# include <pthread.h>
#else
+#define NOMINMAX // disable macros min() and max()
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#undef WIN32_LEAN_AND_MEAN
+#undef NOMINMAX
// Default fast and race free locks and condition variables
#if !defined(OLD_LOCKS)