Changeset 2967 for trunk/src/lib/msc_buffered_printf.c
- Timestamp:
- Sep 26, 2016, 8:14:13 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/msc_buffered_printf.c
r2910 r2967 47 47 #pragma warning(disable: 4273) /* inconsistent dll linkage*/ 48 48 49 #ifndef KWORKER 50 # define DLL_IMPORT __declspec(dllexport) 51 #else 52 # define DLL_IMPORT 53 #endif 54 49 55 extern size_t maybe_con_fwrite(void const *pvBuf, size_t cbUnit, size_t cUnits, FILE *pFile); 50 56 … … 57 63 * @param ... Format arguments. 58 64 */ 59 __declspec(dllexport) 65 DLL_IMPORT 60 66 int __cdecl printf(const char *pszFormat, ...) 61 67 { … … 76 82 * @param va Format arguments. 77 83 */ 78 __declspec(dllexport) 84 DLL_IMPORT 79 85 int __cdecl vprintf(const char *pszFormat, va_list va) 80 86 { … … 114 120 * @param va Format arguments. 115 121 */ 116 __declspec(dllexport) 122 DLL_IMPORT 117 123 int __cdecl fprintf(FILE *pFile, const char *pszFormat, ...) 118 124 { … … 160 166 * @param pszString The string to write. (newline is appended) 161 167 */ 162 __declspec(dllexport) 168 DLL_IMPORT 163 169 int __cdecl puts(const char *pszString) 164 170 { … … 235 241 * @param pFile The output file. 236 242 */ 237 __declspec(dllexport) 243 DLL_IMPORT 238 244 int __cdecl fputs(const char *pszString, FILE *pFile) 239 245 {
Note:
See TracChangeset
for help on using the changeset viewer.