fixed with new libs
Dependents: SmartRemote WifiFlexManager SmartRemote E7
Fork of HTTPServer by
Diff: HTTPConnection.cpp
- Revision:
- 6:fe661fa9d18a
- Parent:
- 4:d065642c32cc
- Child:
- 9:c2a1462b9b71
diff -r dc88012caef1 -r fe661fa9d18a HTTPConnection.cpp --- a/HTTPConnection.cpp Sat Jun 01 06:24:43 2013 +0000 +++ b/HTTPConnection.cpp Sat Jun 01 16:49:17 2013 +0000 @@ -3,12 +3,14 @@ #include "mbed.h" #include "HTTPConnection.h" +#define _DEBUG 0 + #include <vector> using std::vector; using std::string; -#if (1 && !defined(TARGET_LPC11U24)) +#if (_DEBUG && !defined(TARGET_LPC11U24)) #define INFO(x, ...) std::printf("[HttpConnection : INFO]"x"\r\n", ##__VA_ARGS__); #define WARN(x, ...) std::printf("[HttpConnection : WARN]"x"\r\n", ##__VA_ARGS__); #define ERR(x, ...) std::printf("[HttpConnection : ERR]"x"\r\n", ##__VA_ARGS__);