The function strcasecmp is named _stricmp on Windows
This commit is contained in:
parent
eac97c3684
commit
5807bceda8
1 changed files with 4 additions and 0 deletions
|
@ -5,6 +5,10 @@
|
||||||
#include <ctime>
|
#include <ctime>
|
||||||
#include "../client/telldus-core.h"
|
#include "../client/telldus-core.h"
|
||||||
|
|
||||||
|
#ifdef _WINDOWS
|
||||||
|
#define strcasecmp _stricmp
|
||||||
|
#endif
|
||||||
|
|
||||||
const int SUPPORTED_METHODS =
|
const int SUPPORTED_METHODS =
|
||||||
TELLSTICK_TURNON |
|
TELLSTICK_TURNON |
|
||||||
TELLSTICK_TURNOFF |
|
TELLSTICK_TURNOFF |
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue