fixed strcasecmp error on windows platforms.
This commit is contained in:
parent
343cbfdff8
commit
99974d36d3
|
|
@ -28,6 +28,11 @@
|
|||
#include <stdint.h>
|
||||
#include <math.h>
|
||||
|
||||
// fix strcasecmp on non linux platforms
|
||||
#if (defined(_WIN16) || defined(_WIN32) || defined(_WIN64) || defined(__WINDOWS__)) && !defined(__CYGWIN__)
|
||||
#define strcasecmp _stricmp
|
||||
#endif
|
||||
|
||||
// forward declarations
|
||||
#include "amqpcpp/classes.h"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue