#1012. r3508 broke the build on macosx and linux.

Fixed cosmetic issues in samples/httptest.cpp and <exiv2dir>/Makefile.
v0.27.3
Robin Mills 11 years ago
parent f2abf92fd7
commit cc8fcb08c1

@ -124,6 +124,7 @@ mostlyclean clean: config/config.mk
# for packaging. # for packaging.
distclean: clean distclean: clean
rm -f config.log config.status libtool rm -f config.log config.status libtool
rm -rf test/data/eps test/data/video
rm -f *~ *.bak rm -f *~ *.bak
if [ -e bin ]; then rm -rf bin ; fi if [ -e bin ]; then rm -rf bin ; fi

@ -5,6 +5,8 @@
#include <map> #include <map>
#include <algorithm> #include <algorithm>
#include <exiv2/exiv2.hpp>
namespace Exiv2 { namespace Exiv2 {
typedef std::map<std::string,std::string> dict_t; typedef std::map<std::string,std::string> dict_t;
typedef dict_t::iterator dict_i; typedef dict_t::iterator dict_i;
@ -12,4 +14,9 @@ namespace Exiv2 {
EXIV2API int http(dict_t& request,dict_t& response,std::string& errors); EXIV2API int http(dict_t& request,dict_t& response,std::string& errors);
} }
#if EXV_USE_CURL
#include <curl/curl.h>
#endif
#endif #endif

@ -9,11 +9,6 @@
#include <stdlib.h> #include <stdlib.h>
using namespace std; using namespace std;
#if defined(_MSC_VER)
#pragma comment(lib, "ws2_32.lib")
#pragma comment(lib, "wldap32.lib")
#endif
static int testSyntax(const char* arg) static int testSyntax(const char* arg)
{ {
if ( !arg ) { if ( !arg ) {

Loading…
Cancel
Save