summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2010-11-18 03:23:49 +0000
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2010-11-18 23:13:16 +0000
commit67793ed9895b98a95080f5076d9bd7c25989563f (patch)
tree2ab280755987e08cfef0bee2226ac1731008691d
parentbcacdc846156eacc149bbdc5d1bed9925e9c635a (diff)
downloadpsycopg2-67793ed9895b98a95080f5076d9bd7c25989563f.tar.gz
Compiler warning dropped.
-rw-r--r--ChangeLog2
-rw-r--r--psycopg/utils.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 43d990d..38ba756 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,8 @@
* psycopg/connection.h: Added enum with possilbe isolation level states.
Also, general isolation levels cleanup and tests added.
+ * psycopg/utils.c: compiler warning dropped.
+
2010-11-17 Daniele Varrazzo <daniele.varrazzo@gmail.com>
* psycopg/connection_type.c: don't clobber exception if
diff --git a/psycopg/utils.c b/psycopg/utils.c
index cb8b6c7..c602805 100644
--- a/psycopg/utils.c
+++ b/psycopg/utils.c
@@ -26,6 +26,7 @@
#include <Python.h>
#include <string.h>
+#define PSYCOPG_MODULE
#include "psycopg/config.h"
#include "psycopg/psycopg.h"
#include "psycopg/connection.h"