]> granicus.if.org Git - postgresql/commitdiff
Fix the MSVC build process for uuid-ossp.
authorNoah Misch <noah@leadboat.com>
Wed, 18 Jun 2014 13:21:50 +0000 (09:21 -0400)
committerNoah Misch <noah@leadboat.com>
Wed, 18 Jun 2014 13:23:05 +0000 (09:23 -0400)
Catch up with commit b8cc8f94730610c0189aa82dfec4ae6ce9b13e34's
introduction of the HAVE_UUID_OSSP symbol to the principal build
process.  Back-patch to 9.4, where that commit appeared.

src/tools/msvc/Solution.pm

index c0d7f38b6c009c0be3827d4832420ed52af1b59e..f7a5abbd6af73682a6d7a821b516b7bcba059aaf 100644 (file)
@@ -214,6 +214,7 @@ s{PG_VERSION_STR "[^"]+"}{__STRINGIFY(x) #x\n#define __STRINGIFY2(z) __STRINGIFY
 
                if ($self->{options}->{uuid})
                {
+                       print O "#define HAVE_UUID_OSSP\n";
                        print O "#define HAVE_UUID_H\n";
                }
                if ($self->{options}->{xml})