On Wed, August 23, 2006 20:27, Trigve Siver wrote:

> I had same problem once...solved using this in stdafx.h:
>
> #pragma once
> #include <pqxx/pqxx>
> #include <Windows.h>
> #include <algorithm>
> #define max(x,y) std::max(x,y)
> #define min(x,y) std::min(x,y)

Nice one!

Think I'll put this one in the FAQ...


Jeroen


_______________________________________________
Libpqxx-general mailing list
Libpqxx-general@gborg.postgresql.org
http://gborg.postgresql.org/mailman/listinfo/libpqxx-general

Reply via email to