Skip to content
Snippets Groups Projects
Commit eb54d34b authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

If MALLOCDEBUG, include the lib's setup.h here so that the proper defines

are set before all system headers, as otherwise we get compiler warnings
on my Solaris at least.
parent 4b1203d4
No related branches found
No related tags found
No related merge requests found
......@@ -23,8 +23,6 @@
* $Id$
***************************************************************************/
#include <stdio.h>
#if !defined(WIN32) && defined(__WIN32__)
/* Borland fix */
#define WIN32
......@@ -50,6 +48,15 @@
#endif
#endif
#ifdef MALLOCDEBUG
/* This is an ugly hack for MALLOCDEBUG conditions only. We need to include
the file here, since it might set the _FILE_OFFSET_BITS define, which must
be set BEFORE all normal system headers. */
#include "../lib/setup.h"
#endif
#include <stdio.h>
#ifndef OS
#define OS "unknown"
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment