Commit 7e225766 authored by Spencer Oliver's avatar Spencer Oliver Committed by Øyvind Harboe
Browse files

build: fix mingw build issues


 broke the build under mingw, this
fixes that.

Change-Id: I22b91e220dac3b68cc576b65a9f1b8711e64263a
Signed-off-by: default avatarSpencer Oliver <>

Tested-by: jenkins
Reviewed-by: default avatarFreddie Chopin <>
Reviewed-by: default avatarØyvind Harboe <>
parent 27bcd224
......@@ -161,6 +161,9 @@ static __inline void outb(unsigned char value, unsigned short int port)
__asm__ __volatile__ ("outb %b0,%w1": :"a" (value), "Nd" (port));
/* mingw does not have ffs, so use gcc builtin types */
#define ffs __builtin_ffs
#endif /* IS_MINGW */
int win_select(int max_fd, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval *tv);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment