remove taospack on windows
This commit is contained in:
parent
8b311b5a07
commit
1067f8e664
|
@ -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 @@
|
||||||
* 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 @@
|
||||||
#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[]) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#else
|
||||||
|
int main(int argc, char *argv[]) {
|
||||||
|
printf("welcome to use taospack tools v1.3 for windows.\n");
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue