Fixed linux build
Added LICENSE and README
This commit is contained in:
parent
4e585e4372
commit
f350487577
7
LICENSE
Normal file
7
LICENSE
Normal file
|
@ -0,0 +1,7 @@
|
|||
Copyright 2018 Nicolas Dextraze and contributors
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
12
README.md
Normal file
12
README.md
Normal file
|
@ -0,0 +1,12 @@
|
|||
# EventStore C Client
|
||||
|
||||
### The project
|
||||
|
||||
This project is in it's infancy. I need help with many things, from C best practices to documentation passing by portability.
|
||||
If you can/want to help you can contact me via github.
|
||||
|
||||
Right now the code supports both 64bit linux and Windows (using msys2/mingw).
|
||||
|
||||
### License
|
||||
|
||||
See LICENSE file
|
|
@ -5,6 +5,11 @@
|
|||
#ifndef ESC_SOCKET_H
|
||||
#define ESC_SOCKET_H
|
||||
|
||||
#include <stddef.h>
|
||||
#ifdef __linux__
|
||||
#include <unistd.h> //ssize_t
|
||||
#endif
|
||||
|
||||
struct st_socket;
|
||||
typedef struct st_socket socket_t;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user