Boost logo

Boost Users :

From: Guenther Stattenberger (g.stattenberger_at_[hidden])
Date: 2008-04-11 03:29:50


Hi,

according to the QNX documentation, strerror itself is thread-safe,
therefore I thought it correct to add the QNX switch to
libs\system\src\error_code.cpp:86

  # if defined(BOOST_WINDOWS_API) || defined(__hpux) || defined(__sun)\
     || (defined(__linux) && (!defined(__USE_XOPEN2K) ||
defined(BOOST_SYSTEM_USE_STRERROR)))\
     || (defined(__osf__) && !defined(_REENTRANT))\
     || (defined(__vms))\
    || (defined(__QNXNTO__)) // <===================================

Any comments on that?

In addition, I had to uncomment the case statement for EALREADY later in this
file. Since the QNX errno.h header defines
#define EALREADY EBUSY
it won't compile otherwise.

Hope that helps.

best regards
Guenther


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net