[tests][interop] fix sockets.def placement closer to test (fix build)
This commit is contained in:
committed by
Vasily Levchenko
parent
96272aea96
commit
3777d86be2
@@ -2070,7 +2070,7 @@ kotlinNativeInterop {
|
|||||||
}
|
}
|
||||||
|
|
||||||
sockets {
|
sockets {
|
||||||
defFile '../../samples/socket/src/main/c_interop/sockets.def'
|
defFile 'interop/basics/sockets.def'
|
||||||
flavor 'native'
|
flavor 'native'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -7,6 +7,6 @@ static int interop_errno() {
|
|||||||
return errno;
|
return errno;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int interop_htons(int x) {
|
static short interop_htons(short x) {
|
||||||
return htons(x);
|
return htons(x);
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user