Skip to content

Commit

Permalink
update spdylay
Browse files Browse the repository at this point in the history
  • Loading branch information
madeye committed Feb 11, 2013
1 parent 67ac2a6 commit 0b23180
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 17 deletions.
2 changes: 1 addition & 1 deletion jni/Android.mk
Expand Up @@ -76,7 +76,7 @@ LOCAL_STATIC_LIBRARIES := libevent libcrypto

LOCAL_MODULE := spdylay
LOCAL_SRC_FILES := $(addprefix spdylay/, $(SPDYLAY_SOURCES))
LOCAL_CFLAGS := -O2 -g -I$(LOCAL_PATH)/spdylay \
LOCAL_CFLAGS := -DHAVE_CONFIG_H -O2 -g -I$(LOCAL_PATH)/spdylay \
-I$(LOCAL_PATH)/spdylay/includes \
-I$(LOCAL_PATH)/libevent/include \
-I$(LOCAL_PATH)/libevent \
Expand Down
14 changes: 0 additions & 14 deletions jni/spdylay/spdylay_net.h
Expand Up @@ -25,20 +25,6 @@
#ifndef SPDYLAY_NET_H
#define SPDYLAY_NET_H

# if __BYTE_ORDER == __BIG_ENDIAN
# define ntohl(x) (x)
# define ntohs(x) (x)
# define htonl(x) (x)
# define htons(x) (x)
# else
# if __BYTE_ORDER == __LITTLE_ENDIAN
# define ntohl(x) __bswap_32 (x)
# define ntohs(x) __bswap_16 (x)
# define htonl(x) __bswap_32 (x)
# define htons(x) __bswap_16 (x)
# endif
# endif

#ifdef HAVE_CONFIG_H
# include <config.h>
#endif /* HAVE_CONFIG_H */
Expand Down
4 changes: 2 additions & 2 deletions res/values/strings.xml
Expand Up @@ -96,7 +96,7 @@
<string name="proxyed_help">Select apps to use with ProxyDroid:</string>

<!-- menu bar category -->
<string name="recovery">Recover</string>
<string name="recovery">Reset</string>
<string name="copy_rights">\n\nProxyDroid is an open source software
published
under
Expand Down Expand Up @@ -182,4 +182,4 @@
<string name="msg_pac_error">Incorrect or unsupported PAC file</string>
<string name="msg_resolve_error">Incorrect or unknown proxy host name</string>

</resources>
</resources>

0 comments on commit 0b23180

Please sign in to comment.