From: Noah Misch Date: Wed, 18 Jun 2014 13:21:50 +0000 (-0400) Subject: Fix the MSVC build process for uuid-ossp. X-Git-Tag: REL9_5_ALPHA1~1831 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=230ba02d855de7fac31bfb6af25ebd4ae052640b;p=postgresql Fix the MSVC build process for uuid-ossp. 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. --- diff --git a/src/tools/msvc/Solution.pm b/src/tools/msvc/Solution.pm index c0d7f38b6c..f7a5abbd6a 100644 --- a/src/tools/msvc/Solution.pm +++ b/src/tools/msvc/Solution.pm @@ -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})