Better Cygwin support.
author <shinichiro.hamaji@gmail.com> <>
Thu, 22 Jan 2009 18:22:48 +0000 (18:22 +0000)
committer <shinichiro.hamaji@gmail.com> <>
Thu, 22 Jan 2009 18:22:48 +0000 (18:22 +0000)
commitc3441fb6bafd1646e239b9e36e84272c31f8d4b1
treeca86a2194955c9b30ae8404577ca8176a468eb19
parente31a91b6502b3d15ecd7c2d1b518fafbc7234572
Better Cygwin support.

- configure.ac: Add -lpthread only if acx_pthread_ok is yes. In cygwin, we use Windows' thread so that we don't need -lpthread.
- base/mutex.h: Define NOMINMAX before we include windows.h.
- glog/*.h: Make sure that dllimport doesn't appear in cygwin. Note that windows.h may define _WIN32 macro.
- utilities.h: Define OS_CYGWIN.

git-svn-id: https://google-glog.googlecode.com/svn/trunk@30 eb4d4688-79bd-11dd-afb4-1d65580434c0
configure
configure.ac
src/base/mutex.h
src/glog/log_severity.h
src/glog/logging.h.in
src/glog/raw_logging.h.in
src/glog/vlog_is_on.h.in
src/googletest.h
src/utilities.h