mirror of
https://github.com/boostorg/regex.git
synced 2025-07-29 12:07:28 +02:00
regex updates: compatability fixes for Como and sunpro compilers
[SVN r9642]
This commit is contained in:
11
configure.in
11
configure.in
@ -753,7 +753,7 @@ pthread_mutex_t m;
|
||||
|
||||
],
|
||||
[
|
||||
pthread_mutex_init(&m, NULL);
|
||||
pthread_mutex_init(&m, 0);
|
||||
pthread_mutex_lock(&m);
|
||||
pthread_mutex_unlock(&m);
|
||||
pthread_mutex_destroy(&m);
|
||||
@ -1055,9 +1055,17 @@ AC_MSG_CHECKING(for <locale>)
|
||||
AC_TRY_COMPILE(
|
||||
[
|
||||
#include <locale>
|
||||
#include <string>
|
||||
#include <map>
|
||||
#include "confdefs.h"
|
||||
|
||||
std::locale l;
|
||||
//
|
||||
// regex locale support also requires
|
||||
// std::map to be working so we test this
|
||||
// as well here:
|
||||
//
|
||||
std::map<std::string, std::string> m;
|
||||
],
|
||||
[
|
||||
],
|
||||
@ -1687,5 +1695,6 @@ rm -f jm_opt.out
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user