Skip to content

ZMQ-LibCZMQ1 Bool -> bool #34

Description

@maage

This is something I'm not sure that this is proper fix. But I needed this to make it work at RHEL5/RHEL6.

diff -ur ZMQ-LibCZMQ1-0.03-/src/perl_czmq.xs ZMQ-LibCZMQ1-0.03/src/perl_czmq.xs
--- ZMQ-LibCZMQ1-0.03-/src/perl_czmq.xs 2013-01-09 07:31:05.000000000 +0200
+++ ZMQ-LibCZMQ1-0.03/src/perl_czmq.xs  2013-05-12 15:57:38.000000000 +0300
@@ -232,7 +232,7 @@
     OUTPUT:
         RETVAL

-Bool
+bool
 zsocket_poll( socket, msecs)
         PerlLibCZMQ1_zsocket_raw *socket;
         int msecs;
@@ -591,7 +591,7 @@
 zframe_strdup(frame)
         PerlLibCZMQ1_zframe *frame;

-Bool
+bool
 zframe_streq(frame, string)
         PerlLibCZMQ1_zframe *frame;
         char *string;
@@ -600,7 +600,7 @@
 zframe_more(frame)
         PerlLibCZMQ1_zframe *frame;

-Bool
+bool
 zframe_eq(self, other)
         PerlLibCZMQ1_zframe *self;
         PerlLibCZMQ1_zframe *other;
diff -ur ZMQ-LibCZMQ1-0.03-/tools/genfiles.pl ZMQ-LibCZMQ1-0.03/tools/genfiles.pl
--- ZMQ-LibCZMQ1-0.03-/tools/genfiles.pl        2013-01-07 11:32:42.000000000 +0200
+++ ZMQ-LibCZMQ1-0.03/tools/genfiles.pl 2013-05-12 15:56:56.000000000 +0300
@@ -166,7 +166,7 @@
     my (@decl, @input, @output);

     push @decl, "const void * T_PV";
-    push @decl, "Bool         T_BOOL";
+    push @decl, "bool         T_BOOL";
     push @decl, "byte *       T_PV";
     push @decl, "PerlLibCZMQ1_zsocket_raw* PERLCZMQ_ZSOCKET_RAW";
     push @input, <<EOM;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions