Browse Source

fix for gcc

Max Lv 10 years ago
parent
commit
da595d8ca4
1 changed files with 8 additions and 0 deletions
  1. 8
      src/android.h

8
src/android.h

@ -3,7 +3,15 @@
#include <jni.h> #include <jni.h>
#ifdef __cplusplus
extern "C" {
#endif
jint new_protected_socket(); jint new_protected_socket();
void free_protected_socket(jint fd); void free_protected_socket(jint fd);
#ifdef __cplusplus
}
#endif
#endif // _JNI_H #endif // _JNI_H
Loading…
Cancel
Save