windows compiler mysql depends openssl

This commit is contained in:
ruanshudong 2020-02-25 18:14:12 +08:00
parent 5065064fbf
commit cbaa99c283
4 changed files with 5 additions and 5 deletions

@ -1 +1 @@
Subproject commit b84624baa43088b77e7bb016bc833027a6d9f219
Subproject commit 7c22d46777d76c8c08c2161f7cb4d9f0f45991d7

View File

@ -8,7 +8,7 @@ aux_source_directory(. DIR_SRCS)
set(DEPENDS_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.tab.hpp")
list(APPEND DEPENDS_LEC_YACC_SRC_LIST "tars.tab.cpp")

View File

@ -177,13 +177,12 @@ protected:
mutable unsigned _readers;
mutable unsigned _writersWaiting;
mutable unsigned _writers;
#else
#endif
/**
* ID
*/
int _semID;
#endif
/**
* key
*/

View File

@ -16,11 +16,12 @@
#include <errno.h>
#include <string.h>
#include "util/tc_common.h"
#include "util/tc_sem_mutex.h"
#if TARGET_PLATFORM_LINUX || TARGET_PLATFORM_IOS
namespace tars
{
#if TARGET_PLATFORM_LINUX || TARGET_PLATFORM_IOS
TC_SemMutex::TC_SemMutex():_semID(-1),_semKey(-1)
{