From 5d103a40c7b941c74a2480b6ff7bc09b76235b6a Mon Sep 17 00:00:00 2001 From: Bin Cui Date: Sun, 12 Feb 2012 20:39:19 -0800 Subject: [PATCH] No dll_decl for mingw --- gperftools-2.0/src/gperftools/malloc_extension.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gperftools-2.0/src/gperftools/malloc_extension.h b/gperftools-2.0/src/gperftools/malloc_extension.h index 5bee019..7738c18 100644 --- a/gperftools-2.0/src/gperftools/malloc_extension.h +++ b/gperftools-2.0/src/gperftools/malloc_extension.h @@ -54,7 +54,7 @@ // Annoying stuff for windows -- makes sure clients can import these functions #ifndef PERFTOOLS_DLL_DECL -# ifdef _WIN32 +# if defined(_WIN32) && !defined(__MINGW32__) # define PERFTOOLS_DLL_DECL __declspec(dllimport) # else # define PERFTOOLS_DLL_DECL