Now it compiles with the new NDK.

sigsegv_dump
Greg Alexander 5 years ago
parent 7419f62d98
commit cec5e52c7e

@ -122,7 +122,7 @@ Java_org_galexander_sshd_SimpleSSHDService_start_1sshd(JNIEnv *env_,
const char *extra;
if (!jni_init(env_)) {
return;
return 0;
}
conf_path = from_java_string(jpath);
conf_shell = from_java_string(jshell);

@ -22,6 +22,7 @@
#define HAVE_SIG_ATOMIC_T 1
#define HAVE_MBLEN 1
#define HAVE_SYS_UN_H 1
#define HAVE_ATTRIBUTE__SENTINEL__ 1
#define error(fmt, ...) fprintf(stderr, fmt, ##__VA_ARGS__)
#define fatal(fmt, ...) { fprintf(stderr, fmt, ##__VA_ARGS__); cleanup_exit(255); }

@ -74,5 +74,8 @@
#define HAVE_FCHMOD 1
#define HAVE_SETMODE 1
#define HAVE_STRUCT_STAT64 1
#define HAVE_INET_NTOP 1
#define MAJOR_IN_SYSMACROS 1
#define HAVE_ASPRINTF 1
#endif /* __RSYNC_CONFIG_H */

Loading…
Cancel
Save