• R/O
  • SSH

libctools: Commit

This library contains code that extends and simplifies different operations
for C language based programs.


Commit MetaInfo

Revisión1b0c7878b59ef04ea1ab082fa5bd5423b85b9740 (tree)
Tiempo2022-08-31 04:05:52
AutorSergey Gusarov <laborer2008@gmai...>
CommiterSergey Gusarov

Log Message

Fixed dynamic build

Cambiar Resumen

Diferencia incremental

diff -r d0a0505e002b -r 1b0c7878b59e include/ctools/std/sys/stat.h
--- a/include/ctools/std/sys/stat.h Tue Aug 30 19:56:51 2022 +0300
+++ b/include/ctools/std/sys/stat.h Tue Aug 30 22:05:52 2022 +0300
@@ -16,7 +16,7 @@
1616 #if !defined (CT_NO_OS)
1717
1818 # include "ctools/predef/external_headers.h"
19-
19+# include "ctools/shared_api.h"
2020
2121 // Help mode_t values to be defined in c99 mode on unix
2222 # undef CT__USE_BSD_WAS_DEFINED
@@ -68,13 +68,13 @@
6868 # endif
6969
7070 enum {kChModOkResult = 0};
71-extern int chmodWrapper(const char* path, mode_t mode) CT_NOEXCEPT;
71+extern CT_SHARED_API int chmodWrapper(const char* path, mode_t mode) CT_NOEXCEPT;
7272
7373 enum {kMkDirOkResult = 0};
74-extern int mkDirWrapper(const char* path, mode_t mode, const bool informAboutError) CT_NOEXCEPT;
74+extern CT_SHARED_API int mkDirWrapper(const char* path, mode_t mode, const bool informAboutError) CT_NOEXCEPT;
7575
7676 enum {kStatOkResult = 0};
77-extern int statWrapper(const char* CT_RESTRICT path, struct stat* CT_RESTRICT buf) CT_NOEXCEPT;
77+extern CT_SHARED_API int statWrapper(const char* CT_RESTRICT path, struct stat* CT_RESTRICT buf) CT_NOEXCEPT;
7878
7979 CT_END_NAMESPACE
8080
Show on old repository browser