This library contains code that extends and simplifies different operations
for C language based programs.
Revision | 2c69348334acb984d550e050ad205d71c36c1bd1 (tree) |
---|---|
Zeit | 2022-10-04 13:45:40 |
Autor | Sergey Gusarov <laborer2008@gmai...> |
Commiter | Sergey Gusarov |
Next attempt to fix
@@ -66,6 +66,9 @@ | ||
66 | 66 | } |
67 | 67 | |
68 | 68 | #if defined (CT_OS_WINDOWS) |
69 | + | |
70 | +extern CT_SHARED_API char* strndup(const char* s, size_t n) CT_NOEXCEPT; | |
71 | + | |
69 | 72 | # ifdef CT_COMPL_BCC |
70 | 73 | static CT_FORCEINLINE char* strdup(const char* s) CT_NOEXCEPT |
71 | 74 | { |
@@ -74,9 +77,6 @@ | ||
74 | 77 | # else |
75 | 78 | # define strdup(str) _strdup(str) |
76 | 79 | # endif |
77 | - | |
78 | -extern CT_SHARED_API char* strndup(const char* s, size_t n) CT_NOEXCEPT; | |
79 | - | |
80 | 80 | #endif |
81 | 81 | |
82 | 82 | /* |