comparison dwcompat.h @ 1655:de4b88ee7ad8

Only include compat.h when building the dwcompat shared library.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 10 Apr 2012 02:58:28 +0000
parents 71e0a3ad07f7
children 90d02916b878
comparison
equal deleted inserted replaced
1654:3d4066aab4e0 1655:de4b88ee7ad8
3 #ifndef _DWCOMPAT_H 3 #ifndef _DWCOMPAT_H
4 #define _DWCOMPAT_H 4 #define _DWCOMPAT_H
5 5
6 /* This header includes and defines everything needed for a given OS/compiler */ 6 /* This header includes and defines everything needed for a given OS/compiler */
7 #if defined(__UNIX__) || defined(__MAC__) 7 #if defined(__UNIX__) || defined(__MAC__)
8 #include "config.h" 8 #ifdef BUILD_DLL
9 #include "compat.h"
10 #endif
9 11
10 /* Attempt to include 64 bit file functions on various unix flavors */ 12 /* Attempt to include 64 bit file functions on various unix flavors */
11 #ifndef _FILE_OFFSET_BITS 13 #ifndef _FILE_OFFSET_BITS
12 #define _FILE_OFFSET_BITS 64 14 #define _FILE_OFFSET_BITS 64
13 #endif 15 #endif