Remove unneeded DLLEXPORT and STDCALL macros

This commit is contained in:
Lassi Kortela 2019-08-17 22:55:25 +03:00
parent 3f0a44ad7e
commit edf7c991f4
2 changed files with 1 additions and 13 deletions

View File

@ -16,18 +16,6 @@
#undef BITS32 // TODO
#define BITS64 // TODO
#ifdef _WIN32
#define STDCALL __stdcall
#if defined(IMPORT_EXPORTS)
#define DLLEXPORT __declspec(dllimport)
#else
#define DLLEXPORT __declspec(dllexport)
#endif
#else
#define STDCALL
#define DLLEXPORT __attribute__((visibility("default")))
#endif
#define LLT_ALLOC(n) malloc(n)
#define LLT_REALLOC(p, n) realloc((p), (n))
#define LLT_FREE(x) free(x)

View File

@ -119,7 +119,7 @@ static int bisearch(uint32_t ucs, const struct interval *table, int max)
* in ISO 10646.
*/
DLLEXPORT int wcwidth(uint32_t ucs)
int wcwidth(uint32_t ucs)
{
/* sorted list of non-overlapping intervals of non-spacing characters */
/* generated by "uniset +cat=Me +cat=Mn +cat=Cf -00AD +1160-11FF +200B c"