Skip to content

Commit

Permalink
1. modify about gmtime_r warning on Visual Studio (#316)
Browse files Browse the repository at this point in the history
2. mmap_string_ref and mmap_string_unref add export macro LIBETPAN_EXPORT
  • Loading branch information
bm296672810 authored and dinhvh committed Dec 17, 2018
1 parent 565b73b commit eb5d683
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/data-types/mmapstring.h
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,10 @@ MMAPString * mmap_string_erase(MMAPString * string,
LIBETPAN_EXPORT
void mmap_string_set_ceil(size_t ceil);

LIBETPAN_EXPORT
int mmap_string_ref(MMAPString * string);

LIBETPAN_EXPORT
int mmap_string_unref(char * str);

#ifdef __cplusplus
Expand Down
6 changes: 6 additions & 0 deletions src/low-level/imap/mailimap_parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@
#include "mail.h"
#include "timeutils.h"

#ifdef _WIN32
# ifdef _MSC_VER
# include "win_etpan.h"
# endif
#endif

#ifndef UNSTRICT_SYNTAX
#define UNSTRICT_SYNTAX
#endif
Expand Down

0 comments on commit eb5d683

Please sign in to comment.