File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1111/* *
1212 * Dependencies
1313 */
14- #ifndef _WIN32
14+ #if !defined( _WIN32) && !defined(_WIN64)
1515#include " programname.h"
1616#include " platformname.h"
1717#endif
@@ -225,7 +225,7 @@ class ConnectionStartFrame : public ConnectionFrame
225225 if (!properties.contains (" information" )) properties[" information" ] = " https://github.com/CopernicaMarketingSoftware/AMQP-CPP" ;
226226 if (!properties.contains (" capabilities" )) properties[" capabilities" ] = capabilities;
227227
228- #ifdef _WIN32
228+ #if defined( _WIN32) || defined(_WIN64)
229229 // i don't know that much about win32, so let's use hardcoded string
230230 if (!properties.contains (" product" )) properties[" product" ] = " application based on AMQP-CPP" ;
231231 if (!properties.contains (" platform" )) properties[" platform" ] = " windows" ;
Original file line number Diff line number Diff line change 1515/* *
1616 * Dependencies
1717 */
18- #include < unistd.h>
1918#include < limits.h>
19+ #include < unistd.h>
2020
2121/* *
2222 * Begin of namespace
You can’t perform that action at this time.
0 commit comments