mirror of
http://galexander.org/git/simplesshd.git
synced 2025-01-12 08:00:54 +00:00
Now it compiles with the new NDK.
This commit is contained in:
parent
7419f62d98
commit
cec5e52c7e
@ -122,7 +122,7 @@ Java_org_galexander_sshd_SimpleSSHDService_start_1sshd(JNIEnv *env_,
|
|||||||
const char *extra;
|
const char *extra;
|
||||||
|
|
||||||
if (!jni_init(env_)) {
|
if (!jni_init(env_)) {
|
||||||
return;
|
return 0;
|
||||||
}
|
}
|
||||||
conf_path = from_java_string(jpath);
|
conf_path = from_java_string(jpath);
|
||||||
conf_shell = from_java_string(jshell);
|
conf_shell = from_java_string(jshell);
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
#define HAVE_SIG_ATOMIC_T 1
|
#define HAVE_SIG_ATOMIC_T 1
|
||||||
#define HAVE_MBLEN 1
|
#define HAVE_MBLEN 1
|
||||||
#define HAVE_SYS_UN_H 1
|
#define HAVE_SYS_UN_H 1
|
||||||
|
#define HAVE_ATTRIBUTE__SENTINEL__ 1
|
||||||
|
|
||||||
#define error(fmt, ...) fprintf(stderr, fmt, ##__VA_ARGS__)
|
#define error(fmt, ...) fprintf(stderr, fmt, ##__VA_ARGS__)
|
||||||
#define fatal(fmt, ...) { fprintf(stderr, fmt, ##__VA_ARGS__); cleanup_exit(255); }
|
#define fatal(fmt, ...) { fprintf(stderr, fmt, ##__VA_ARGS__); cleanup_exit(255); }
|
||||||
|
@ -74,5 +74,8 @@
|
|||||||
#define HAVE_FCHMOD 1
|
#define HAVE_FCHMOD 1
|
||||||
#define HAVE_SETMODE 1
|
#define HAVE_SETMODE 1
|
||||||
#define HAVE_STRUCT_STAT64 1
|
#define HAVE_STRUCT_STAT64 1
|
||||||
|
#define HAVE_INET_NTOP 1
|
||||||
|
#define MAJOR_IN_SYSMACROS 1
|
||||||
|
#define HAVE_ASPRINTF 1
|
||||||
|
|
||||||
#endif /* __RSYNC_CONFIG_H */
|
#endif /* __RSYNC_CONFIG_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user