From 0a6be0a83f368aff7df7e1a9c567d7e16b92a579 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Sun, 31 Jan 2016 04:33:54 +0000 Subject: Fix compiler warnings (STR 2988), porting from branch-1.3. This commit is the accumulated patch introduced in branch 1.3 in svn r 11094, 11095, and 11096. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11097 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_lock.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Fl_lock.cxx') diff --git a/src/Fl_lock.cxx b/src/Fl_lock.cxx index fc6daf8b9..0ec2cf0a5 100644 --- a/src/Fl_lock.cxx +++ b/src/Fl_lock.cxx @@ -3,7 +3,7 @@ // // Multi-threading support code for the Fast Light Tool Kit (FLTK). // -// Copyright 1998-2015 by Bill Spitzak and others. +// Copyright 1998-2016 by Bill Spitzak and others. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this @@ -255,7 +255,7 @@ void Fl::awake(void* msg) { //////////////////////////////////////////////////////////////// // POSIX threading... -#elif HAVE_PTHREAD +#elif defined(HAVE_PTHREAD) # include # include # include -- cgit v1.2.3