Skip to content
Browse files

No dll_decl for mingw

  • Loading branch information...
1 parent f0a3376 commit 5d103a40c7b941c74a2480b6ff7bc09b76235b6a @bcui6611 committed Feb 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 gperftools-2.0/src/gperftools/malloc_extension.h
View
2 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

0 comments on commit 5d103a4

Please sign in to comment.
Something went wrong with that request. Please try again.