Skip to content

Commit

Permalink
adding common defines
Browse files Browse the repository at this point in the history
  • Loading branch information
ruby0x1 committed Jun 18, 2014
1 parent 96d4700 commit c17abf5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions defines.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<xml>

<compilerflag value="-DNATIVE_TOOLKIT_CURL"/>
<compilerflag value="-DNATIVE_TOOLKIT_CURL_SSL" if="NATIVE_TOOLKIT_CURL_SSL"/>

</xml>
4 changes: 2 additions & 2 deletions files.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<compilerflag value="-I${NATIVE_TOOLKIT_PATH}/zlib/"/>

<compilerflag value="-DCURL_STATICLIB" />
<compilerflag value="-DUSE_AXTLS=1" if="LIBCURL_SSL" />
<compilerflag value="-DUSE_AXTLS=1" if="NATIVE_TOOLKIT_CURL_SSL" />
<compilerflag value="-DHAVE_CONFIG_H" unless="windows"/>
<compilerflag value="-DWIN32" if="windows"/>
<compilerflag value="-DALLOW_MSVC6_WITHOUT_PSDK" if="windows"/>
Expand Down Expand Up @@ -103,7 +103,7 @@
<file name="${NATIVE_TOOLKIT_PATH}/curl/src/hostcheck.c" />
<file name="${NATIVE_TOOLKIT_PATH}/curl/src/vtls/vtls.c" />

<section if="LIBCURL_SSL" >
<section if="NATIVE_TOOLKIT_CURL_SSL" >

<compilerflag value="-I${NATIVE_TOOLKIT_PATH}/curl/src/axTLS/config" />
<compilerflag value="-I${NATIVE_TOOLKIT_PATH}/curl/src/axTLS/crypto" />
Expand Down

0 comments on commit c17abf5

Please sign in to comment.