Revision 077030d1

b/qemu-common.h
201 201
#define qemu_isascii(c)		isascii((unsigned char)(c))
202 202
#define qemu_toascii(c)		toascii((unsigned char)(c))
203 203

  
204
#ifdef _WIN32
205
/* ffs() in oslib-win32.c for WIN32, strings.h for the rest of the world */
206
int ffs(int i);
207
#endif
208

  
209 204
void *qemu_oom_check(void *ptr);
210 205
void *qemu_malloc(size_t size);
211 206
void *qemu_realloc(void *ptr, size_t size);
b/qemu-os-win32.h
29 29
#include <windows.h>
30 30
#include <winsock2.h>
31 31

  
32
/* Declaration of ffs() is missing in MinGW's strings.h. */
33
int ffs(int i);
34

  
32 35
/* Polling handling */
33 36

  
34 37
/* return TRUE if no sleep should be done afterwards */

Also available in: Unified diff