Remove typedef for uint32, include internal/c.h

This commit is contained in:
Oleksandr Shulgin 2015-09-30 14:34:45 +02:00
parent 862eda10c2
commit f872a2aabb

View File

@ -26,9 +26,9 @@
#define PSYCOPG_LIBPQ_SUPPORT_H 1 #define PSYCOPG_LIBPQ_SUPPORT_H 1
#include "psycopg/config.h" #include "psycopg/config.h"
#include "internal/c.h"
/* type and constant definitions from internal postgres includes */ /* type and constant definitions from internal postgres includes not available otherwise */
typedef unsigned int uint32;
typedef unsigned PG_INT64_TYPE XLogRecPtr; typedef unsigned PG_INT64_TYPE XLogRecPtr;
#define InvalidXLogRecPtr ((XLogRecPtr) 0) #define InvalidXLogRecPtr ((XLogRecPtr) 0)