diff --git a/c/dtypes.h b/c/dtypes.h index 54d5896..552c36c 100644 --- a/c/dtypes.h +++ b/c/dtypes.h @@ -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) diff --git a/c/wcwidth.h b/c/wcwidth.h index cf8d4d2..2f5a53b 100644 --- a/c/wcwidth.h +++ b/c/wcwidth.h @@ -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"