Skip to content

Commit eab5dd3

Browse files
author
Bulat Shakirzyanov
committed
Merge branch 'master' into docs-fixes
2 parents 89829df + d456105 commit eab5dd3

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Cassandra's native protocol. The current version works with:
6666

6767
* Apache Cassandra versions 1.2, 2.0 and partially 2.1
6868
* DataStax Enterprise 3.1, 3.2, 4.0 and 4.5
69-
* PHP 5.3+
69+
* PHP 5.3.4+
7070
* Compilers: GCC 4.1.2+, Clang 3.4+, and MSVC 2010/2012/2013
7171

7272
__NOTE__: Apache Cassandra 2.1 support is limited to the Cassandra 2.0 API (native protocol v2), e.g. no user-defined types.

Diff for: ext/php_cassandra.h

+4
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222
#include <Zend/zend_exceptions.h>
2323
#include <Zend/zend_interfaces.h>
2424

25+
#if PHP_VERSION_ID < 50304
26+
# error PHP 5.3.4 or later is required in order to build the driver
27+
#endif
28+
2529
#if HAVE_SPL
2630
# include <ext/spl/spl_iterators.h>
2731
# include <ext/spl/spl_exceptions.h>

Diff for: ext/util/future.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
#ifndef PHP_CASSANDRA_FUTURE_H
2-
#define PHP_CASSANDRA_FUTURE_H
1+
#ifndef PHP_CASSANDRA_UTIL_FUTURE_H
2+
#define PHP_CASSANDRA_UTIL_FUTURE_H
33

44
int php_cassandra_future_wait_timed(CassFuture* future, zval* timeout TSRMLS_DC);
55
int php_cassandra_future_is_error(CassFuture* future TSRMLS_DC);
66

7-
#endif /* PHP_CASSANDRA_FUTURE_H */
7+
#endif /* PHP_CASSANDRA_UTIL_FUTURE_H */

0 commit comments

Comments
 (0)