# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1334026708 0 # Node ID de4b88ee7ad8202da23092ec50686b5b119e07a5 # Parent 3d4066aab4e055a2c9e13e44cc9aecb4066bd84b Only include compat.h when building the dwcompat shared library. diff -r 3d4066aab4e0 -r de4b88ee7ad8 dwcompat.h --- a/dwcompat.h Mon Apr 09 21:06:50 2012 +0000 +++ b/dwcompat.h Tue Apr 10 02:58:28 2012 +0000 @@ -5,7 +5,9 @@ /* This header includes and defines everything needed for a given OS/compiler */ #if defined(__UNIX__) || defined(__MAC__) -#include "config.h" +#ifdef BUILD_DLL +#include "compat.h" +#endif /* Attempt to include 64 bit file functions on various unix flavors */ #ifndef _FILE_OFFSET_BITS