Checking in vendor folder for ease of using go get.
This commit is contained in:
parent
7a1251853b
commit
cdb4b5a1d0
3554 changed files with 1270116 additions and 0 deletions
24
vendor/git.apache.org/thrift.git/contrib/transport-sample/config.h
generated
vendored
Normal file
24
vendor/git.apache.org/thrift.git/contrib/transport-sample/config.h
generated
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
//Missing definitions for *NIX systems. This sample project
|
||||
//was initially created on Windows.
|
||||
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#define TEXT(str) str
|
||||
|
||||
inline int Sleep(int ms)
|
||||
{
|
||||
return sleep(ms/1000); //sleep() param is in seconds
|
||||
}
|
||||
|
||||
inline int _tcscmp(const char* str1, const char* str2)
|
||||
{
|
||||
return strcmp(str1, str2);
|
||||
}
|
||||
|
||||
inline int _tstoi(const char* str)
|
||||
{
|
||||
return atoi(str);
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue