summaryrefslogtreecommitdiff
path: root/librabbitmq/codegen.py
diff options
context:
space:
mode:
Diffstat (limited to 'librabbitmq/codegen.py')
-rw-r--r--librabbitmq/codegen.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/librabbitmq/codegen.py b/librabbitmq/codegen.py
index 26fc8f1..8a8e5c5 100644
--- a/librabbitmq/codegen.py
+++ b/librabbitmq/codegen.py
@@ -412,6 +412,7 @@ extern "C" {
"""
print "#define AMQP_PROTOCOL_VERSION_MAJOR %d" % (spec.major)
print "#define AMQP_PROTOCOL_VERSION_MINOR %d" % (spec.minor)
+ print "#define AMQP_PROTOCOL_VERSION_REVISION %d" % (spec.revision)
print "#define AMQP_PROTOCOL_PORT %d" % (spec.port)
for (c,v,cls) in spec.constants: