mirror of
https://gitee.com/TarsCloud/TarsCpp.git
synced 2024-12-22 22:16:38 +08:00
windows compiler mysql depends openssl
This commit is contained in:
parent
5065064fbf
commit
cbaa99c283
@ -1 +1 @@
|
|||||||
Subproject commit b84624baa43088b77e7bb016bc833027a6d9f219
|
Subproject commit 7c22d46777d76c8c08c2161f7cb4d9f0f45991d7
|
@ -8,7 +8,7 @@ aux_source_directory(. DIR_SRCS)
|
|||||||
set(DEPENDS_SRC_LIST)
|
set(DEPENDS_SRC_LIST)
|
||||||
|
|
||||||
set(DEPENDS_LEC_YACC_SRC_LIST)
|
set(DEPENDS_LEC_YACC_SRC_LIST)
|
||||||
if(UNIX)
|
if(WIN32)
|
||||||
list(APPEND DEPENDS_LEC_YACC_SRC_LIST "tars.lex.cpp")
|
list(APPEND DEPENDS_LEC_YACC_SRC_LIST "tars.lex.cpp")
|
||||||
list(APPEND DEPENDS_LEC_YACC_SRC_LIST "tars.tab.hpp")
|
list(APPEND DEPENDS_LEC_YACC_SRC_LIST "tars.tab.hpp")
|
||||||
list(APPEND DEPENDS_LEC_YACC_SRC_LIST "tars.tab.cpp")
|
list(APPEND DEPENDS_LEC_YACC_SRC_LIST "tars.tab.cpp")
|
||||||
|
@ -177,13 +177,12 @@ protected:
|
|||||||
mutable unsigned _readers;
|
mutable unsigned _readers;
|
||||||
mutable unsigned _writersWaiting;
|
mutable unsigned _writersWaiting;
|
||||||
mutable unsigned _writers;
|
mutable unsigned _writers;
|
||||||
#else
|
#endif
|
||||||
/**
|
/**
|
||||||
* 信号量ID
|
* 信号量ID
|
||||||
*/
|
*/
|
||||||
int _semID;
|
int _semID;
|
||||||
|
|
||||||
#endif
|
|
||||||
/**
|
/**
|
||||||
* 信号量key
|
* 信号量key
|
||||||
*/
|
*/
|
||||||
|
@ -16,11 +16,12 @@
|
|||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include "util/tc_common.h"
|
||||||
#include "util/tc_sem_mutex.h"
|
#include "util/tc_sem_mutex.h"
|
||||||
|
|
||||||
#if TARGET_PLATFORM_LINUX || TARGET_PLATFORM_IOS
|
|
||||||
namespace tars
|
namespace tars
|
||||||
{
|
{
|
||||||
|
#if TARGET_PLATFORM_LINUX || TARGET_PLATFORM_IOS
|
||||||
|
|
||||||
TC_SemMutex::TC_SemMutex():_semID(-1),_semKey(-1)
|
TC_SemMutex::TC_SemMutex():_semID(-1),_semKey(-1)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user