]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
libpq.vapi: added condition LIBPQ_9_3
authorRichard Wiedenhöft <richard.wiedenhoeft@gmail.com>
Tue, 17 Sep 2013 20:38:50 +0000 (22:38 +0200)
committerEvan Nemerson <evan@coeus-group.com>
Sat, 25 Jan 2014 07:43:03 +0000 (23:43 -0800)
Fixes bug 698004.

vapi/libpq.vapi

index f9899143a93d8d261021f6204b70f36d4a45b6e9..acdc6f50c3dfd51da2ec4550bf8f59182ef5ae33 100644 (file)
  *     Jukka-Pekka Iivonen <jp0409@jippii.fi>
  */
 
+#if LIBPQ_9_3
+[CCode (cprefix = "PQ", cheader_filename = "libpq-fe.h")]
+#else
 [CCode (cprefix = "PQ", cheader_filename = "postgresql/libpq-fe.h")]
+#endif
 namespace Postgres {
 
        [CCode (cname = "ConnStatusType", cprefix = "CONNECTION_", has_type_id = false)]