Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions native/jni/java-net/java_net_VMNetworkInterface.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,13 @@ exception statement from your version. */

#include "java_net_VMNetworkInterface.h"

/* Some systems, for example Haiku, do not define IFF_RUNNING. Then
isUp() tests IFF_UP only. (Haiku's IFF_LINK is not the same: it
tells if the hardware has a link, also when the interface is down.) */
#ifndef IFF_RUNNING
# define IFF_RUNNING 0
#endif

int iff_flags(JNIEnv *, jstring, jint *);

static jmethodID java_net_VMNetworkInterface_init;
Expand Down
Loading