提交 1067f8e6 编写于 作者: T tickduan

remove taospack on windows

上级 8b311b5a
...@@ -18,7 +18,7 @@ void new_DBA(DynamicByteArray **dba, size_t cap) { ...@@ -18,7 +18,7 @@ void new_DBA(DynamicByteArray **dba, size_t cap) {
(*dba)->size = 0; (*dba)->size = 0;
(*dba)->capacity = cap; (*dba)->capacity = cap;
(*dba)->array = (unsigned char*)malloc(sizeof(unsigned char)*cap); (*dba)->array = (unsigned char*)malloc(sizeof(unsigned char)*cap);
} }
void convertDBAtoBytes(DynamicByteArray *dba, unsigned char** bytes) void convertDBAtoBytes(DynamicByteArray *dba, unsigned char** bytes)
{ {
......
...@@ -15,12 +15,16 @@ ...@@ -15,12 +15,16 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
//#include <iconv.h> //#include <iconv.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
//#include <sys/stat.h> //#include <sys/stat.h>
//#include <sys/syscall.h> //#include <sys/syscall.h>
#ifndef WINDOWS
#include "os.h" #include "os.h"
#include "tscompression.h" #include "tscompression.h"
#include "tdataformat.h" #include "tdataformat.h"
...@@ -28,6 +32,7 @@ ...@@ -28,6 +32,7 @@
#define FT_CNT 8 #define FT_CNT 8
void cost_start(); void cost_start();
double cost_end(const char* tag); double cost_end(const char* tag);
int notsame_cnt = 0; int notsame_cnt = 0;
...@@ -742,3 +747,9 @@ int main(int argc, char *argv[]) { ...@@ -742,3 +747,9 @@ int main(int argc, char *argv[]) {
return 0; return 0;
} }
#else
int main(int argc, char *argv[]) {
printf("welcome to use taospack tools v1.3 for windows.\n");
}
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册