Przeglądaj źródła

sys: fix a link error on Win32.

undefined
Sam Hocevar 11 lat temu
rodzic
commit
a782ce8a32
1 zmienionych plików z 8 dodań i 0 usunięć
  1. +8
    -0
      src/sys/hacks.cpp

+ 8
- 0
src/sys/hacks.cpp Wyświetl plik

@@ -23,12 +23,20 @@


extern "C" { extern "C" {


#if _M_X64
void *__imp___iob_func(void) void *__imp___iob_func(void)
#else
void *_imp____iob_func(void)
#endif
{ {
return NULL; return NULL;
} }


#if _M_X64
int __imp_fprintf(FILE *stream, char const *fmt, ...) int __imp_fprintf(FILE *stream, char const *fmt, ...)
#else
int _imp__fprintf(FILE *stream, char const *fmt, ...)
#endif
{ {
va_list va; va_list va;
va_start(va, fmt); va_start(va, fmt);


Ładowanie…
Anuluj
Zapisz