X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1c193821a999730fbf6a9bea83763f37daae68f1..b1f6de838e6d29596a8cec55a59dd3a5c3f02233:/src/msw/wince/time.cpp diff --git a/src/msw/wince/time.cpp b/src/msw/wince/time.cpp index afd4aa4b93..d9657f7051 100644 --- a/src/msw/wince/time.cpp +++ b/src/msw/wince/time.cpp @@ -17,7 +17,7 @@ // headers // --------------------------------------------------------------------------- -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "window.h" #endif @@ -29,8 +29,7 @@ #endif #ifndef WX_PRECOMP - #include - #include "wx/msw/winundef.h" + #include "wx/msw/wrapwin.h" #endif #include "wx/msw/wince/time.h" @@ -39,7 +38,7 @@ long timezone = 0; // Hint: use GetSystemTime() -struct tm * localtime(const time_t *) +struct tm * __cdecl localtime(const time_t *) { // TODO return NULL; @@ -105,26 +104,26 @@ struct tm * localtime(const time_t *) #endif } -time_t time(time_t *) +time_t __cdecl time(time_t *) { // TODO return 0; } -size_t wcsftime(wchar_t *, size_t, const wchar_t *, +size_t __cdecl wcsftime(wchar_t *, size_t, const wchar_t *, const struct tm *) { // TODO return 0; } -time_t mktime(struct tm *) +time_t __cdecl mktime(struct tm *) { // TODO return 0; } -struct tm * gmtime(const time_t *) +struct tm * __cdecl gmtime(const time_t *) { // TODO return NULL;