Add DLL export macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -56,7 +56,7 @@ class WXDLLIMPEXP_BASE wxDateSpan;
|
|||||||
#ifdef HAVE_LOCALTIME_R
|
#ifdef HAVE_LOCALTIME_R
|
||||||
#define wxLocaltime_r localtime_r
|
#define wxLocaltime_r localtime_r
|
||||||
#else
|
#else
|
||||||
struct tm *wxLocaltime_r(const time_t*, struct tm*);
|
WXDLLIMPEXP_BASE struct tm *wxLocaltime_r(const time_t*, struct tm*);
|
||||||
#if wxUSE_THREADS && !defined(__WINDOWS__) && !defined(__WATCOMC__)
|
#if wxUSE_THREADS && !defined(__WINDOWS__) && !defined(__WATCOMC__)
|
||||||
// On Windows, localtime _is_ threadsafe!
|
// On Windows, localtime _is_ threadsafe!
|
||||||
#warning using pseudo thread-safe wrapper for localtime to emulate localtime_r
|
#warning using pseudo thread-safe wrapper for localtime to emulate localtime_r
|
||||||
@@ -66,7 +66,7 @@ struct tm *wxLocaltime_r(const time_t*, struct tm*);
|
|||||||
#ifdef HAVE_GMTIME_R
|
#ifdef HAVE_GMTIME_R
|
||||||
#define wxGmtime_r gmtime_r
|
#define wxGmtime_r gmtime_r
|
||||||
#else
|
#else
|
||||||
struct tm *wxGmtime_r(const time_t*, struct tm*);
|
WXDLLIMPEXP_BASE struct tm *wxGmtime_r(const time_t*, struct tm*);
|
||||||
#if wxUSE_THREADS && !defined(__WINDOWS__) && !defined(__WATCOMC__)
|
#if wxUSE_THREADS && !defined(__WINDOWS__) && !defined(__WATCOMC__)
|
||||||
// On Windows, gmtime _is_ threadsafe!
|
// On Windows, gmtime _is_ threadsafe!
|
||||||
#warning using pseudo thread-safe wrapper for gmtime to emulate gmtime_r
|
#warning using pseudo thread-safe wrapper for gmtime to emulate gmtime_r
|
||||||
|
Reference in New Issue
Block a user