Skip to content

PHP 5.4 doesn't link to this package #1

Description

@jcftang

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions