Skip to content

Commit 8b3a224

Browse files
committed
Fix #116 add configure.h for libmemcachedprotocol
1 parent b73f12a commit 8b3a224

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

include/libmemcachedprotocol-0.0/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
install_public_headers(
33
libmemcachedprotocol-0.0
44

5+
@configure.h
56
binary.h
67
callback.h
78
handler.h
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/*
2+
+--------------------------------------------------------------------+
3+
| libmemcached-awesome - C/C++ Client Library for memcached |
4+
+--------------------------------------------------------------------+
5+
| Redistribution and use in source and binary forms, with or without |
6+
| modification, are permitted under the terms of the BSD license. |
7+
| You should have received a copy of the license in a bundled file |
8+
| named LICENSE; in case you did not receive a copy you can review |
9+
| the terms online at: https://opensource.org/licenses/BSD-3-Clause |
10+
+--------------------------------------------------------------------+
11+
| Copyright (c) 2006-2014 Brian Aker https://datadifferential.com/ |
12+
| Copyright (c) 2020-2021 Michael Wallner https://awesome.co/ |
13+
+--------------------------------------------------------------------+
14+
*/
15+
16+
#pragma once
17+
18+
#cmakedefine HAVE_SSIZE_T 1
19+

include/libmemcachedprotocol-0.0/handler.h

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
#pragma once
1717

18+
#include "libmemcachedprotocol-0.0/configure.h"
1819
#include <sys/types.h>
1920
#ifndef HAVE_SSIZE_T
2021
typedef long int ssize_t;

0 commit comments

Comments
 (0)