diff options
Diffstat (limited to 'src/config.h.in')
-rw-r--r-- | src/config.h.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/config.h.in b/src/config.h.in index 8190f23..e41635a 100644 --- a/src/config.h.in +++ b/src/config.h.in @@ -178,3 +178,12 @@ /* Puts following code inside the Google namespace */ #undef _START_GOOGLE_NAMESPACE_ + +// Annoying stuff for windows -- makes sure clients can import these functions +#ifndef GOOGLE_GLOG_DLL_DECL +# if defined(_WIN32) && !defined(__CYGWIN__) +# define GOOGLE_GLOG_DLL_DECL __declspec(dllimport) +# else +# define GOOGLE_GLOG_DLL_DECL +# endif +#endif |