aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/include/decimal.h
diff options
context:
space:
mode:
authorMichael Meskes <meskes@postgresql.org>2008-02-17 18:14:29 +0000
committerMichael Meskes <meskes@postgresql.org>2008-02-17 18:14:29 +0000
commita9bc069c0b0d0b6fa781a79de04e0273ca97f819 (patch)
treee5f5cc2a9f74737c2e406dbdfcc35971c40e4a57 /src/interfaces/ecpg/include/decimal.h
parentb120382353a938a342d3149031f40f42dc6e2720 (diff)
downloadpostgresql-a9bc069c0b0d0b6fa781a79de04e0273ca97f819.tar.gz
postgresql-a9bc069c0b0d0b6fa781a79de04e0273ca97f819.zip
- Removed duplicate include of ecpgtype.h which meant I had to adapt all expected results.
- Changed INFORMIX mode symbol definition yet again because the old way didn't work on NetBSD. Hopefully this one does.
Diffstat (limited to 'src/interfaces/ecpg/include/decimal.h')
-rw-r--r--src/interfaces/ecpg/include/decimal.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/interfaces/ecpg/include/decimal.h b/src/interfaces/ecpg/include/decimal.h
index bcfbb98b474..b3f5ca3d072 100644
--- a/src/interfaces/ecpg/include/decimal.h
+++ b/src/interfaces/ecpg/include/decimal.h
@@ -1,11 +1,12 @@
-/* $PostgreSQL: pgsql/src/interfaces/ecpg/include/decimal.h,v 1.17 2008/02/15 11:20:21 meskes Exp $ */
+/* $PostgreSQL: pgsql/src/interfaces/ecpg/include/decimal.h,v 1.18 2008/02/17 18:14:29 meskes Exp $ */
#ifndef _ECPG_DECIMAL_H
#define _ECPG_DECIMAL_H
#include <ecpg_informix.h>
-/* brought in by ecpg_informix.h nowadays
- * typedef decimal dec_t; */
+#ifndef _ECPGLIB_H /* source created by ecpg which defines this symbol */
+typedef decimal dec_t;
+#endif /* ndef _ECPGLIB_H */
#endif /* ndef _ECPG_DECIMAL_H */