diff options
Diffstat (limited to 'ext/mysql/php_mysql.h')
-rw-r--r-- | ext/mysql/php_mysql.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/ext/mysql/php_mysql.h b/ext/mysql/php_mysql.h new file mode 100644 index 0000000..7b9ab8d --- /dev/null +++ b/ext/mysql/php_mysql.h @@ -0,0 +1,36 @@ +/* + +----------------------------------------------------------------------+ + | PHP Version 5 | + +----------------------------------------------------------------------+ + | Copyright (c) 1997-2013 The PHP Group | + +----------------------------------------------------------------------+ + | This source file is subject to version 3.01 of the PHP license, | + | that is bundled with this package in the file LICENSE, and is | + | available through the world-wide-web at the following url: | + | http://www.php.net/license/3_01.txt | + | If you did not receive a copy of the PHP license and are unable to | + | obtain it through the world-wide-web, please send a note to | + | license@php.net so we can mail you a copy immediately. | + +----------------------------------------------------------------------+ + | Author: Zeev Suraski <zeev@zend.com> | + +----------------------------------------------------------------------+ +*/ + + +/* $Id$ */ + +#ifndef PHP_MYSQL_H +#define PHP_MYSQL_H + +#if HAVE_MYSQL + +extern zend_module_entry mysql_module_entry; +#define mysql_module_ptr &mysql_module_entry + +#else +#define mysql_module_ptr NULL +#endif + +#define phpext_mysql_ptr mysql_module_ptr + +#endif /* PHP_MYSQL_H */ |