diff options
author | nelsonb%netscape.com <devnull@localhost> | 2002-06-25 22:58:43 +0000 |
---|---|---|
committer | nelsonb%netscape.com <devnull@localhost> | 2002-06-25 22:58:43 +0000 |
commit | 1e57c07f784e50af86a7e65d080f6c2f59a229ee (patch) | |
tree | acc59bedee1c51aa0ffc9bda731c9c64b2a1f926 | |
parent | 2a3a2a288a8a8d87527805f23c37622e163b9bdd (diff) | |
download | nspr-hg-WINCE_NSPRPUB_RELEASE_4_2_BETA1.tar.gz |
Fix duplicate declaration of struct tm and related functions by adding anWINCE_NSPRPUB_RELEASE_4_2_BETA1
ifdef. The othe declaration is in MFC's wcealt.h.
-rw-r--r-- | pr/include/md/_wince_libc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pr/include/md/_wince_libc.h b/pr/include/md/_wince_libc.h index 9e7df337..71285564 100644 --- a/pr/include/md/_wince_libc.h +++ b/pr/include/md/_wince_libc.h @@ -70,6 +70,8 @@ typedef int ptrdiff_t; /* pointer difference */ /* The following definitions are generally expected in <time.h> */ +#ifndef _TM_DEFINED +#define _TM_DEFINED /* * struct tm * @@ -96,6 +98,7 @@ struct tm { _NSPRIMP struct tm* gmtime(const time_t* inTimeT); _NSPRIMP struct tm* localtime(const time_t* inTimeT); _NSPRIMP time_t mktime(struct tm* inTM); +#endif _NSPRIMP size_t strftime(char *strDest, size_t maxsize, const char *format, const struct tm *timeptr); |