Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP 5.4 doesn't link to this package #1

Open
jcftang opened this issue Jun 19, 2012 · 0 comments
Open

PHP 5.4 doesn't link to this package #1

jcftang opened this issue Jun 19, 2012 · 0 comments

Comments

@jcftang
Copy link
Owner

jcftang commented Jun 19, 2012

This is required to link against php 5.4.x

diff --git a/slurm_php.c b/slurm_php.c
index face859..8fd71e2 100644
--- a/slurm_php.c
+++ b/slurm_php.c
@@ -47,7 +47,7 @@

 #include "slurm_php.h"

-static function_entry slurm_functions[] = {
+static zend_function_entry slurm_functions[] = {
        PHP_FE(slurm_ping, NULL)
        PHP_FE(slurm_slurmd_status, NULL)
        PHP_FE(slurm_print_partition_names, NULL)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant