Fix #116 add configure.h for libmemcachedprotocol 117/head
authorRemi Collet <remi@remirepo.net>
Mon, 26 Jul 2021 08:02:24 +0000 (10:02 +0200)
committerRemi Collet <remi@remirepo.net>
Mon, 26 Jul 2021 08:02:24 +0000 (10:02 +0200)
include/libmemcachedprotocol-0.0/CMakeLists.txt
include/libmemcachedprotocol-0.0/configure.h.in [new file with mode: 0644]
include/libmemcachedprotocol-0.0/handler.h

index 6d4fb22054b42bf815d517211d7161e2117f8bc8..71b4f260f77a10c5ddcfa2762494dbde257ae17e 100644 (file)
@@ -2,6 +2,7 @@
 install_public_headers(
         libmemcachedprotocol-0.0
 
+        @configure.h
         binary.h
         callback.h
         handler.h
diff --git a/include/libmemcachedprotocol-0.0/configure.h.in b/include/libmemcachedprotocol-0.0/configure.h.in
new file mode 100644 (file)
index 0000000..f4d77c2
--- /dev/null
@@ -0,0 +1,19 @@
+/*
+    +--------------------------------------------------------------------+
+    | libmemcached-awesome - C/C++ Client Library for memcached          |
+    +--------------------------------------------------------------------+
+    | Redistribution and use in source and binary forms, with or without |
+    | modification, are permitted under the terms of the BSD license.    |
+    | You should have received a copy of the license in a bundled file   |
+    | named LICENSE; in case you did not receive a copy you can review   |
+    | the terms online at: https://opensource.org/licenses/BSD-3-Clause  |
+    +--------------------------------------------------------------------+
+    | Copyright (c) 2006-2014 Brian Aker   https://datadifferential.com/ |
+    | Copyright (c) 2020-2021 Michael Wallner        https://awesome.co/ |
+    +--------------------------------------------------------------------+
+*/
+
+#pragma once
+
+#cmakedefine HAVE_SSIZE_T 1
+
index 04e47acf14384560582e62602233d2a99f419860..3b576d0205eff072f6580f4fd710f43d7a1fff85 100644 (file)
@@ -15,6 +15,7 @@
 
 #pragma once
 
+#include "libmemcachedprotocol-0.0/configure.h"
 #include <sys/types.h>
 #ifndef HAVE_SSIZE_T
 typedef long int ssize_t;